mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
123123
This commit is contained in:
Regular → Executable
+13
-8
@@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user