mirror of
https://github.com/hyprwm/hyprland-infra.git
synced 2025-05-12 21:30:36 +01:00
hosts: make agenix a sharedModule
This commit is contained in:
parent
a41e77e15e
commit
5d107d2b63
1 changed files with 9 additions and 3 deletions
|
@ -18,12 +18,18 @@
|
|||
modules = {networking.hostName = hostname;} // args.modules or {};
|
||||
specialArgs = {inherit inputs self;} // args.specialArgs or {};
|
||||
};
|
||||
|
||||
sharedModules = [
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
in {
|
||||
"caesar" = mkNixosSystem {
|
||||
hostname = "caesar";
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./caesar
|
||||
];
|
||||
modules =
|
||||
[
|
||||
./caesar
|
||||
]
|
||||
++ sharedModules;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue