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": {
"flake": false,
"locked": {
"lastModified": 1716725506,
"narHash": "sha256-RjDe7MWPgutEOFxAN7A6m7X/xJOLzBUQgHO2vvNLI6U=",
"lastModified": 1716725610,
"narHash": "sha256-NSsfQlBI+kPhJyprVq+SBzPtjdEJURGbzUNMIrlh5yo=",
"ref": "refs/heads/master",
"rev": "38def2b57c5d77a1eea960f5e52109304f80a6ef",
"revCount": 36,
"rev": "d77862466d6b88debf272d1856c407b29a41c111",
"revCount": 37,
"type": "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
sopsHashedPasswordFile = lib.optionalString (lib.hasAttr "sops-nix" inputs) config.sops.secrets."passwords/root".path;
in