commit 99f4044adb706f1969a20a0c60964d6d48a639ad
parent 5918e2b0abfb5d124e94bf73d65c313f11a9fac6
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 9 Aug 2023 20:55:19 +0200
Try to make sops work
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/flake.nix b/flake.nix
@@ -60,6 +60,8 @@
# These are usually stuff you would upstream into home-manager
homeManagerModules = import ./modules/home-manager;
+ sops = sops-nix.nixosModules.sops;
+
# NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {
@@ -67,7 +69,7 @@
specialArgs = { inherit inputs outputs; };
modules = [
# > Our main nixos configuration file <
- sops-nix.nixosModules.sops
+ sops
./nixos/worker-1/configuration.nix
];
};
@@ -81,6 +83,7 @@
extraSpecialArgs = { inherit inputs outputs; };
modules = [
# > Our main home-manager configuration file <
+ sops
./home-manager/home.nix
];
};