diff --git a/flake.lock b/flake.lock index b6f2596..6af5765 100644 --- a/flake.lock +++ b/flake.lock @@ -228,11 +228,11 @@ "nix-secrets": { "flake": false, "locked": { - "lastModified": 1716728141, - "narHash": "sha256-p9o7xF5Q1II/ngoYw0R+LMTXX3Mehy16e+cs6f1AZgI=", + "lastModified": 1716728224, + "narHash": "sha256-dgsNHeMkH4z++dpZvNXEDySvJdalXmz4Xz7JNyWxH1w=", "ref": "refs/heads/master", - "rev": "5a984789ff07c749772ece6fcb80373bc218048e", - "revCount": 42, + "rev": "d0273ccbae8ca91ff7684a7b65f328eb28a3cb79", + "revCount": 43, "type": "git", "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" }, diff --git a/hosts/bootstrap/default.nix b/hosts/bootstrap/default.nix index 408b9f8..68db5da 100644 --- a/hosts/bootstrap/default.nix +++ b/hosts/bootstrap/default.nix @@ -3,7 +3,6 @@ let pubKeys = lib.filesystem.listFilesRecursive (../common/users/keys); secretsDirectory = builtins.toString inputs.nix-secrets; secretsFile = "${secretsDirectory}/secrets.yaml"; - sopsHashedPasswordFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."passwords/root".path; in { imports = @@ -11,7 +10,7 @@ in # Disk configuration inputs.sops-nix.nixosModules.sops inputs.disko.nixosModules.disko - (import ../common/disks/luks-btrfs-subvolumes.nix { device = "/dev/vda"; keyFile = "${sopsHashedPasswordFile}"; }) + (import ../common/disks/luks-btrfs-subvolumes.nix { device = "/dev/vda" ; }) ../common/optional/btrfs-impermanence.nix inputs.impermanence.nixosModules.impermanence