mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
parent
09787eec8f
commit
5640ce5d13
6 changed files with 89 additions and 5 deletions
12
flake.nix
12
flake.nix
|
|
@ -9,7 +9,7 @@
|
|||
} @ inputs: let
|
||||
mods = import ./modules;
|
||||
cLib = import ./lib {inherit (nixpkgs) lib;};
|
||||
mkLinuxSystem = mod:
|
||||
mkLinuxSystem = mod: ovl:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs cLib;};
|
||||
modules =
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
inputs.agenix.nixosModules.default
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [self.overlays.default];
|
||||
nixpkgs.overlays = [self.overlays.default] ++ ovl;
|
||||
}
|
||||
]
|
||||
++ mod
|
||||
|
|
@ -39,8 +39,8 @@
|
|||
inherit (mods) homeManagerModules nixosModules;
|
||||
# TODO: use ./hosts/
|
||||
nixosConfigurations = {
|
||||
artemis = mkLinuxSystem [./hosts/artemis inputs.lanzaboote.nixosModules.lanzaboote];
|
||||
hermes = mkLinuxSystem [./hosts/hermes];
|
||||
artemis = mkLinuxSystem [./hosts/artemis inputs.lanzaboote.nixosModules.lanzaboote] [];
|
||||
hermes = mkLinuxSystem [./hosts/hermes inputs.copyparty.nixosModules.default] [inputs.copyparty.overlays.default];
|
||||
};
|
||||
diskoConfigurations = {}; # maybe?
|
||||
om.health.default = {nix-version.min-required = "2.18.5";};
|
||||
|
|
@ -178,5 +178,9 @@
|
|||
systems.follows = "systems";
|
||||
};
|
||||
};
|
||||
copyparty = {
|
||||
url = "github:9001/copyparty";
|
||||
inputs.nixpkgs.follows = "unstable";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue