From 03c452b9cefd37b162618fc71f689a0342318380 Mon Sep 17 00:00:00 2001 From: oqyude Date: Wed, 23 Jul 2025 18:44:29 +0300 Subject: [PATCH] 123 --- devices/.vds.nix.kate-swp | Bin 186 -> 0 bytes devices/disko/vds.nix | 18 +++++++++--------- devices/hardware/vds.nix | 23 ++++++----------------- 3 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 devices/.vds.nix.kate-swp diff --git a/devices/.vds.nix.kate-swp b/devices/.vds.nix.kate-swp deleted file mode 100644 index 8eb314ce2765a28c26236c83c59d0037273a3be6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 186 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?VnnQ^vec36kz|Fmo&sr~79$~Q8#ybBIu zU|{fMU|^79U|^5~F+do^VN7!k2C+d{nt_3VF%iL+0r7JXd|42`7{QkV@l##lhJ*CW VBe)>rr9tL`Fo?raQdFAi3ILZA9$EkZ diff --git a/devices/disko/vds.nix b/devices/disko/vds.nix index 7cdd00e..4260e59 100644 --- a/devices/disko/vds.nix +++ b/devices/disko/vds.nix @@ -7,15 +7,15 @@ content = { type = "gpt"; partitions = { - # ESP = { - # type = "EF00"; - # size = "512M"; - # content = { - # type = "filesystem"; - # format = "vfat"; - # mountpoint = "/boot"; - # }; - # }; + ESP = { + type = "EF02"; + size = "512M"; + content = { + type = "filesystem"; + format = "vfat"; + mountpoint = "/boot"; + }; + }; # swap = { # size = "2G"; # content = { diff --git a/devices/hardware/vds.nix b/devices/hardware/vds.nix index 0c3ceef..c8500be 100755 --- a/devices/hardware/vds.nix +++ b/devices/hardware/vds.nix @@ -34,27 +34,16 @@ fileSystems = { "/" = { - device = lib.mkForce "/dev/vda1"; # "/dev/disk/by-partlabel/disk-main-root"; + device = lib.mkForce "/dev/vda2"; # "/dev/disk/by-partlabel/disk-main-root"; fsType = "ext4"; }; + "/boot" = { + device = lib.mkForce "/dev/vda1"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; }; - # fileSystems."/" = - # { device = "/dev/disk/by-uuid/8acccc34-edc6-4934-886c-ef4b778ca24a"; - # fsType = "ext4"; - # }; - # - # fileSystems."/boot" = - # { device = "/dev/disk/by-uuid/DDF2-C940"; - # fsType = "vfat"; - # options = [ "fmask=0022" "dmask=0022" ]; - # }; - # - # fileSystems."/home/otreca/External" = - # { device = "/dev/disk/by-uuid/37e53ebc-5343-a94d-9fe2-0ca39e13a8de"; - # fsType = "ext4"; - # }; - # swapDevices = [ # { device = "/dev/disk/by-partlabel/disk-main-swap"; } # ];