Compare commits

..

2 commits

Author SHA1 Message Date
Katherina Walshe-Grey 5ef9816a34 kilgharrah: enable zfs, luksdev 2024-09-23 23:22:48 +01:00
Katherina Walshe-Grey 4f99cc5102 fix agenix pathspec 2024-09-23 23:22:32 +01:00
3 changed files with 13 additions and 22 deletions

View file

@ -6,19 +6,19 @@
"home-manager": "home-manager",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
]
},
"locked": {
"lastModified": 1723293904,
"narHash": "sha256-b+uqzj+Wa6xgMS9aNbX4I+sXeb5biPDi39VgvSFqFvU=",
"lastModified": 1703089996,
"narHash": "sha256-ipqShkBmHKC9ft1ZAsA6aeKps32k7+XZSPwfxeHLsAU=",
"owner": "ryantm",
"repo": "agenix",
"rev": "f6291c5935fdc4e0bef208cfc0dcab7e3f7a1c41",
"rev": "564595d0ad4be7277e07fa63b5a991b3c645655d",
"type": "github"
},
"original": {
"owner": "ryantm",
"ref": "0.15.0",
"repo": "agenix",
"type": "github"
}
@ -232,21 +232,6 @@
"repo": "nixpkgs",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -18,7 +18,7 @@
nur.url = "github:nix-community/NUR";
agenix = {
url = "github:ryantm/agenix?tag=0.15.0";
url = "github:ryantm/agenix/0.15.0";
inputs = {
nixpkgs.follows = "nixpkgs";
darwin.follows = "";

View file

@ -2,9 +2,15 @@
{
boot.initrd.luks.devices = {
"enc".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd";
"cryptroot".device = "/dev/disk/by-uuid/b414aaba-0a36-4135-a7e1-dc9489286acd";
};
boot.supportedFilesystems = [ "zfs" ];
environment.etc.crypttab.text = ''
cryptstorage UUID=acda0e7a-069f-47c7-8e37-ec00e7cdde0f /root/luks-albion.key
'';
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/ad4cbc18-8849-40ed-b0bf-097f8f46346b";