This commit is contained in:
2025-09-16 16:21:35 +03:00
parent 357ea37aed
commit 3690b55241
2 changed files with 14 additions and 8 deletions
+13 -8
View File
@@ -2,24 +2,23 @@
disko.devices = {
disk = {
main = {
device = "/dev/mmcblk0";
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
#boot = {
# type = "EF02";
# size = "1M";
#;
ESP = {
size = "500M";
type = "EF00";
size = "512M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
swap = {
size = "2G";
content = {
type = "swap";
mountOptions = [ "umask=0077" ];
};
};
root = {
@@ -30,6 +29,12 @@
mountpoint = "/";
};
};
swap = {
size = "2048M";
content = {
type = "swap";
};
};
};
};
};
+1
View File
@@ -19,6 +19,7 @@ let
imports = with inputs; [
./hardware/mini-pc.nix
./disko/mini-pc.nix
./hardware/logitech.nix
self.nixosModules.default
];