auto: bootstrapping sparky
This commit is contained in:
parent
245bbb8de6
commit
7739e82f8e
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue