Add sops
All checks were successful
pre-commit / pre-commit (push) Successful in 2m2s

This commit is contained in:
2024-03-06 20:17:04 +01:00
parent fd6d93d0cf
commit a7250e9581
10 changed files with 158 additions and 9 deletions

View File

@@ -9,9 +9,10 @@
url = "github:nix-community/home-manager?ref=release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix.url = "github:Mic92/sops-nix";
};
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs:
outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, ... }@inputs:
let
system = "x86_64-linux";
user = "torjus";
@@ -36,10 +37,11 @@
};
gunter = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs self user; };
specialArgs = { inherit inputs self user sops-nix; };
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/gunter
sops-nix.nixosModules.sops
];
};
};