aboutsummaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/nixos/x86_64-linux/bree.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/machines/nixos/x86_64-linux/bree.nix b/machines/nixos/x86_64-linux/bree.nix
index 2f564b5..f91bf4f 100644
--- a/machines/nixos/x86_64-linux/bree.nix
+++ b/machines/nixos/x86_64-linux/bree.nix
@@ -27,5 +27,17 @@
};
};
+ age.secrets.disk-unlock-key.file = ../../../secrets/bree/disk-unlock-key.age;
+ age.secrets.disk-passphrase.file = ../../../secrets/bree/disk-passphrase.age;
+
+ services.remoteDiskUnlock = {
+ enable = true;
+ hosts = [
+ "192.168.1.114"
+ ];
+ sshKeyPath = config.age.secrets.disk-unlock-key.path;
+ passphrasePath = config.age.secrets.disk-passphrase.path;
+ };
+
system.stateVersion = "23.11"; # Did you read the comment?
}