Compare commits

...

2 commits

Author SHA1 Message Date
377ff0141e
changed to seperate boot partition 2023-09-29 01:47:01 +02:00
6e4469fa8f
disable root login 2023-09-29 01:13:30 +02:00
2 changed files with 5 additions and 3 deletions

View file

@ -4,16 +4,17 @@
fileSystems."/" = { fileSystems."/" = {
device = "nya-root"; device = "nya-root";
fsType = "tmpfs"; fsType = "tmpfs";
options = [ "size=1G" "mode=755" ];
}; };
fileSystems."/persist" = { fileSystems."/persist" = {
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=persist" ]; options = [ "subvol=persist" ];
neededForBoot = true;
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; device = "/dev/disk/by-uuid/75b01f48-e159-4d72-b049-54b7af072076";
fsType = "btrfs"; fsType = "ext4";
options = [ "subvol=boot" ];
}; };
fileSystems."/nix" = { fileSystems."/nix" = {
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0"; device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";

View file

@ -24,6 +24,7 @@ networking = {
users = { users = {
mutableUsers = false; mutableUsers = false;
users.root.hashedPassword = "!";
}; };
impermanence.enable = true; impermanence.enable = true;