diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-07-30 18:13:18 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-07-30 18:13:18 +0000 |
commit | cdd176c16ea6da5ff090bb4bdcf946191b8f5072 (patch) | |
tree | 653deeb211f0fcd04d39bdf043a5dba6f4c07be5 /hosts/sif | |
parent | 079e020060eda6358ba90fce5f3254d84a64a004 (diff) | |
download | nixos-cdd176c16ea6da5ff090bb4bdcf946191b8f5072.tar nixos-cdd176c16ea6da5ff090bb4bdcf946191b8f5072.tar.gz nixos-cdd176c16ea6da5ff090bb4bdcf946191b8f5072.tar.bz2 nixos-cdd176c16ea6da5ff090bb4bdcf946191b8f5072.tar.xz nixos-cdd176c16ea6da5ff090bb4bdcf946191b8f5072.zip |
...
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/hw.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix index ad0d3927..c63cc4a8 100644 --- a/hosts/sif/hw.nix +++ b/hosts/sif/hw.nix | |||
@@ -8,7 +8,7 @@ | |||
8 | options = [ "fmask=0022" "dmask=0022" ]; | 8 | options = [ "fmask=0022" "dmask=0022" ]; |
9 | }; | 9 | }; |
10 | "/.bcachefs" = | 10 | "/.bcachefs" = |
11 | { label = "sif"; | 11 | { device = "/dev/sif/nvm0:/dev/sif/nvm1"; |
12 | fsType = "bcachefs"; | 12 | fsType = "bcachefs"; |
13 | neededForBoot = true; | 13 | neededForBoot = true; |
14 | }; | 14 | }; |
@@ -55,6 +55,11 @@ | |||
55 | fsType = "none"; | 55 | fsType = "none"; |
56 | options = [ "bind" ]; | 56 | options = [ "bind" ]; |
57 | }; | 57 | }; |
58 | "/etc/NetworkManager/system-connections" = | ||
59 | { device = "/.bcachefs/etc/NetworkManager/system-connections"; | ||
60 | fsType = "none"; | ||
61 | options = [ "bind" ]; | ||
62 | }; | ||
58 | }; | 63 | }; |
59 | boot.initrd.systemd.services."unlock-bcachefs-${utils.escapeSystemdPath "/.bcachefs"}".enable = false; | 64 | boot.initrd.systemd.services."unlock-bcachefs-${utils.escapeSystemdPath "/.bcachefs"}".enable = false; |
60 | 65 | ||