2023-10-08 14:57:57 +00:00
|
|
|
{
|
|
|
|
description = "My NixOS configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
2023-10-09 09:25:17 +00:00
|
|
|
nur.url = "github:nix-community/NUR";
|
2023-10-08 16:03:14 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-09 18:56:41 +00:00
|
|
|
homeage = {
|
|
|
|
url = "github:jordanisaacs/homeage";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-10-14 17:08:02 +00:00
|
|
|
agenix = {
|
|
|
|
url = "github:ryantm/agenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
};
|
|
|
|
|
2023-10-16 15:45:15 +00:00
|
|
|
outputs = { nixpkgs, home-manager, homeage, agenix, nur, ... }: {
|
|
|
|
nixosConfigurations.pim = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
agenix.nixosModules.default
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.extraSpecialArgs = { inherit nur; };
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.pim = {
|
|
|
|
imports = [
|
|
|
|
./home
|
|
|
|
homeage.homeManagerModules.homeage
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2023-10-08 14:57:57 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|