fix: NixOS | make mutable users false

This commit is contained in:
2025-02-04 00:16:01 +05:00
parent a9fb51279a
commit 441db69dcc
2 changed files with 6 additions and 12 deletions

View File

@@ -118,7 +118,6 @@ in
id = ["24353659"]; id = ["24353659"];
}; };
users.mutableUsers = false;
users.users.shahab = { users.users.shahab = {
shell = pkgs.zsh; shell = pkgs.zsh;

View File

@@ -1,7 +1,7 @@
{ {
disko.devices = { disko.devices = {
disk = { disk = {
vdb = { main = {
type = "disk"; type = "disk";
device = "/dev/nvme0n1"; device = "/dev/nvme0n1";
content = { content = {
@@ -11,7 +11,7 @@
priority = 1; priority = 1;
name = "ESP"; name = "ESP";
start = "1M"; start = "1M";
end = "128M"; end = "512M";
type = "EF00"; type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
@@ -41,13 +41,9 @@
mountpoint = "/nix"; mountpoint = "/nix";
mountOptions = ["subvol=nix" "compress=zstd" "noatime"]; mountOptions = ["subvol=nix" "compress=zstd" "noatime"];
}; };
"/log" = { "/persistant" = {
mountpoint = "/var/log"; mountpoint = "/persistant";
mountOptions = ["subvol=log" "compress=zstd" "noatime"]; mountOptions = ["subvol=persistant" "compress=zstd" "noatime"];
};
"/persist" = {
mountpoint = "/persist";
mountOptions = ["subvol=persist" "compress=zstd" "noatime"];
}; };
"/swap" = { "/swap" = {
mountpoint = "/swap"; mountpoint = "/swap";
@@ -63,6 +59,5 @@
}; };
}; };
fileSystems."/persist".neededForBoot = true; fileSystems."/persistant".neededForBoot = true;
fileSystems."/var/log".neededForBoot = true;
} }