auto: bootstrapping sparky

This commit is contained in:
Sam 2024-05-26 13:13:35 +01:00
parent 245bbb8de6
commit 7739e82f8e
2 changed files with 5 additions and 5 deletions

View File

@ -228,11 +228,11 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1716725506, "lastModified": 1716725610,
"narHash": "sha256-RjDe7MWPgutEOFxAN7A6m7X/xJOLzBUQgHO2vvNLI6U=", "narHash": "sha256-NSsfQlBI+kPhJyprVq+SBzPtjdEJURGbzUNMIrlh5yo=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "38def2b57c5d77a1eea960f5e52109304f80a6ef", "rev": "d77862466d6b88debf272d1856c407b29a41c111",
"revCount": 36, "revCount": 37,
"type": "git", "type": "git",
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
}, },

View File

@ -1,4 +1,4 @@
{...}: {lib, inputs, config, device ? throw "Must define a device, e.g. /dev/sda", ...}:
let let
sopsHashedPasswordFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."passwords/root".path; sopsHashedPasswordFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."passwords/root".path;
in in