summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix4
-rw-r--r--hosts/sif/hw.nix3
2 files changed, 6 insertions, 1 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index b0d2fd78..d0d4edb5 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -34,6 +34,10 @@ in {
34 initrd = { 34 initrd = {
35 systemd = { 35 systemd = {
36 emergencyAccess = config.users.users.root.hashedPassword; 36 emergencyAccess = config.users.users.root.hashedPassword;
37 extraBin = {
38 "vim" = lib.getExe pkgs.vim;
39 "grep" = lib.getExe pkgs.gnupgrep;
40 };
37 }; 41 };
38 luks.devices = { 42 luks.devices = {
39 nvm0 = { device = "/dev/disk/by-uuid/bef17e86-d929-4a60-97cb-6bfa133face7"; bypassWorkqueues = true; }; 43 nvm0 = { device = "/dev/disk/by-uuid/bef17e86-d929-4a60-97cb-6bfa133face7"; bypassWorkqueues = true; };
diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix
index 1bcf0261..81349dda 100644
--- a/hosts/sif/hw.nix
+++ b/hosts/sif/hw.nix
@@ -11,6 +11,7 @@
11 { options = [ 11 { options = [
12 "x-systemd.requires=/dev/disk/by-id/dm-name-sif-nvm0" 12 "x-systemd.requires=/dev/disk/by-id/dm-name-sif-nvm0"
13 "x-systemd.requires=/dev/disk/by-id/dm-name-sif-nvm1" 13 "x-systemd.requires=/dev/disk/by-id/dm-name-sif-nvm1"
14 "casefold_disabled"
14 ]; 15 ];
15 device = "/dev/disk/by-uuid/fe7bdaac-d2f3-4535-a635-e2fb97ef3802"; 16 device = "/dev/disk/by-uuid/fe7bdaac-d2f3-4535-a635-e2fb97ef3802";
16 fsType = "bcachefs"; 17 fsType = "bcachefs";
@@ -25,7 +26,7 @@
25 # system.etc.overlay.enable = false; 26 # system.etc.overlay.enable = false;
26 27
27 boot.initrd.systemd.packages = [ 28 boot.initrd.systemd.packages = [
28 (pkgs.writeTextDir "/etc/systemd/system/\\x2ebcachefs.mount.d/block_scan.conf" '' 29 (pkgs.writeTextDir "/etc/systemd/system/-sysroot-.bcachefs.mount.d/block_scan.conf" ''
29 [Mount] 30 [Mount]
30 Environment=BCACHEFS_BLOCK_SCAN=1 31 Environment=BCACHEFS_BLOCK_SCAN=1
31 '') 32 '')