Inline common module
This commit is contained in:
parent
606dbee8d7
commit
bb53530665
3 changed files with 81 additions and 20 deletions
11
flake.nix
11
flake.nix
|
|
@ -11,17 +11,20 @@
|
|||
url = "github:ryantm/agenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
common.url = "git+https://git.uninsane.org/nettika/nettika-common";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, phps, common, agenix, ... }:
|
||||
outputs = { self, nixpkgs, phps, agenix }:
|
||||
let inherit (nixpkgs.lib) nixosSystem;
|
||||
in {
|
||||
nixosModules.common = ./modules/common.nix;
|
||||
nixosConfigurations = {
|
||||
marauder = nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules =
|
||||
[ ./hosts/marauder common.nixosModule agenix.nixosModules.default ];
|
||||
modules = [
|
||||
./hosts/marauder
|
||||
self.nixosModules.common
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
specialArgs = { inherit phps agenix; };
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue