add agenix
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
|
||||
stylix = {
|
||||
@@ -22,8 +24,7 @@
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
nix-flatpak,
|
||||
nvf,
|
||||
agenix,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
@@ -31,14 +32,15 @@
|
||||
overlays = builtins.attrValues (import ./overlays);
|
||||
|
||||
sharedModules = [
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
inputs.stylix.nixosModules.stylix
|
||||
nvf.nixosModules.default
|
||||
inputs.nvf.nixosModules.default
|
||||
inputs.agenix.nixosModules.default
|
||||
];
|
||||
|
||||
mkHost = hostConfig:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs system overlays; };
|
||||
specialArgs = { inherit inputs system overlays agenix; };
|
||||
modules = [ hostConfig ] ++ sharedModules;
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user