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 = { disko.devices = {
disk = { disk = {
main = { main = {
device = "/dev/mmcblk0"; device = "/dev/sda";
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
#boot = {
# type = "EF02";
# size = "1M";
#;
ESP = { ESP = {
size = "500M";
type = "EF00"; type = "EF00";
size = "512M";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
}; mountOptions = [ "umask=0077" ];
};
swap = {
size = "2G";
content = {
type = "swap";
}; };
}; };
root = { root = {
@@ -30,6 +29,12 @@
mountpoint = "/"; mountpoint = "/";
}; };
}; };
swap = {
size = "2048M";
content = {
type = "swap";
};
};
}; };
}; };
}; };
+1
View File
@@ -19,6 +19,7 @@ let
imports = with inputs; [ imports = with inputs; [
./hardware/mini-pc.nix ./hardware/mini-pc.nix
./disko/mini-pc.nix
./hardware/logitech.nix ./hardware/logitech.nix
self.nixosModules.default self.nixosModules.default
]; ];