From 7739e82f8e8b640b1d6d810a3d546ba277e4e1cb Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 26 May 2024 13:13:35 +0100 Subject: [PATCH] auto: bootstrapping sparky --- flake.lock | 8 ++++---- hosts/common/disks/luks-btrfs-subvolumes.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 07a7ac7..4a40eb2 100644 --- a/flake.lock +++ b/flake.lock @@ -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" }, diff --git a/hosts/common/disks/luks-btrfs-subvolumes.nix b/hosts/common/disks/luks-btrfs-subvolumes.nix index 650a714..4686f0d 100644 --- a/hosts/common/disks/luks-btrfs-subvolumes.nix +++ b/hosts/common/disks/luks-btrfs-subvolumes.nix @@ -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