mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
cube: move mount points
This commit is contained in:
parent
fa2914963d
commit
346db9e7df
1 changed files with 6 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
environment.etc =
|
environment.etc =
|
||||||
builtins.listToAttrs (map
|
builtins.listToAttrs (map
|
||||||
(name: { inherit name; value.source = "/persist/etc/${name}"; })
|
(name: { inherit name; value.source = "/nix/persist/etc/${name}"; })
|
||||||
[
|
[
|
||||||
"machine-id"
|
"machine-id"
|
||||||
"ssh/ssh_host_ed25519_key"
|
"ssh/ssh_host_ed25519_key"
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.users.sean.passwordFile = "/persist/shadow/sean";
|
users.users.sean.passwordFile = "/nix/persist/shadow_sean";
|
||||||
users.users.root.passwordFile = "/persist/shadow/sean";
|
users.users.root.passwordFile = "/nix/persist/shadow_sean";
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
|
@ -36,10 +36,9 @@
|
||||||
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
"/" = { device = "tmpfs"; fsType = "tmpfs"; options = [ "mode=755" ]; };
|
||||||
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
"/boot" = { device = "/dev/disk/by-partlabel/_esp"; fsType = "vfat"; };
|
||||||
"/nix" = { device = "cube/locker/nix"; fsType = "zfs"; };
|
"/nix" = { device = "cube/locker/nix"; fsType = "zfs"; };
|
||||||
"/persist" = { device = "cube/locker/persist"; fsType = "zfs"; neededForBoot = true; };
|
"/home" = { device = "cube/locker/home"; fsType = "zfs"; };
|
||||||
"/home" = { device = "/persist/home"; noCheck = true; options = [ "bind" ]; };
|
"/var/log" = { device = "cube/locker/log"; fsType = "zfs"; };
|
||||||
"/var/log" = { device = "/persist/var/log"; noCheck = true; options = [ "bind" ]; };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.11";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue