vanadium/restic: set up sgbk

This commit is contained in:
Primrose 2025-02-28 21:47:19 +01:00
parent 3e81eb5711
commit d70fa0a4fb
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
6 changed files with 43 additions and 0 deletions

View file

@ -41,6 +41,7 @@
environment.etc."crypttab".text = ''
four /dev/disk/by-uuid/f68b6704-670a-4050-b032-2d553070139a ${config.age.secrets.four_pwd.path} noauto
two /dev/disk/by-uuid/552234e0-0820-44d8-b7ac-2653076149a5 ${config.age.secrets.two_pwd.path} noauto
sgbk /dev/disk/by-uuid/21b5207e-c3cf-49da-b944-fb405ae1eee2 ${config.age.secrets.sgbk_pwd.path} noauto
'';
systemd.mounts = let
@ -56,6 +57,7 @@
in [
(bindToCryptDev "four")
(bindToCryptDev "two")
(bindToCryptDev "sgbk")
];
environment.systemPackages = [