2024-04-12 22:20:55 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
# ...
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
|
|
|
|
flatpaks.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-13 19:42:15 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-04-12 22:20:55 +00:00
|
|
|
};
|
|
|
|
|
2024-05-05 16:52:37 +00:00
|
|
|
outputs = { nixpkgs, flatpaks, agenix, home-manager, ... } @ inputs: {
|
2024-04-12 22:20:55 +00:00
|
|
|
nixosConfigurations.insertpclinux = nixpkgs.lib.nixosSystem {
|
2024-04-13 20:27:31 +00:00
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
flatpaks.nixosModules.default
|
|
|
|
./configuration.nix
|
|
|
|
./special/insertpclinux.nix
|
|
|
|
agenix.nixosModules.default
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.insert = import /home/insert/Documents/nixos/home.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixosConfigurations.insertlaptop = nixpkgs.lib.nixosSystem {
|
2024-04-12 22:20:55 +00:00
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
flatpaks.nixosModules.default
|
|
|
|
./configuration.nix
|
2024-04-16 21:20:55 +00:00
|
|
|
./special/insertlaptop.nix
|
2024-04-12 22:20:55 +00:00
|
|
|
agenix.nixosModules.default
|
2024-04-13 19:42:15 +00:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.insert = import /home/insert/Documents/nixos/home.nix;
|
|
|
|
}
|
2024-04-12 22:20:55 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|