Reviewed-on: https://gitea.mrdev023.fr/florian.richer/nixos/pulls/1 Co-authored-by: Florian RICHER <florian.richer@protonmail.com> Co-committed-by: Florian RICHER <florian.richer@protonmail.com>
This commit is contained in:
parent
e9329e63dc
commit
b7f82f87e8
84 changed files with 1100 additions and 1247 deletions
17
flake.nix
17
flake.nix
|
@ -19,10 +19,10 @@
|
|||
};
|
||||
|
||||
outputs = inputs@{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
agenix,
|
||||
...
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
agenix,
|
||||
...
|
||||
}:
|
||||
let
|
||||
systems = [
|
||||
|
@ -37,10 +37,15 @@
|
|||
${s.name} = nixpkgs.lib.nixosSystem {
|
||||
inherit (s) system;
|
||||
modules = [
|
||||
./hosts/${s.name}
|
||||
./hosts/${s.name}/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
agenix.nixosModules.default
|
||||
(import ./home/common-home-manager.nix { inherit inputs; })
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = inputs;
|
||||
home-manager.users.florian = import ./hosts/${s.name}/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
}) {} systems;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue