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

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