up
This commit is contained in:
@@ -4,9 +4,10 @@
|
||||
user,
|
||||
...
|
||||
}: {
|
||||
imports = [];
|
||||
imports = [
|
||||
./disks.nix
|
||||
];
|
||||
|
||||
# Override Darwin-style gc.interval with NixOS systemd format
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
|
||||
32
profiles/nixos/disks.nix
Normal file
32
profiles/nixos/disks.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
_: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
vdb = {
|
||||
device = "/dev/%DISK%";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
type = "EF00";
|
||||
size = "100M";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user