mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 23:12:25 +00:00
Compare commits
2 Commits
d636de890c
...
203bb6a13a
Author | SHA1 | Date | |
---|---|---|---|
|
203bb6a13a | ||
|
4bfd65acb3 |
@ -7,24 +7,28 @@
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
# Boot partition
|
||||
ESP = {
|
||||
ESP = rec {
|
||||
size = "512MiB";
|
||||
type = "EF00";
|
||||
label = "boot";
|
||||
device = "/dev/disk/by-label/${label}";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
extraArgs = [ "-n boot" ];
|
||||
extraArgs = [ "-n ${label}" ];
|
||||
};
|
||||
};
|
||||
# Root partition ext4
|
||||
root = {
|
||||
root = rec {
|
||||
size = "100%";
|
||||
label = "nixos";
|
||||
device = "/dev/disk/by-label/${label}";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
extraArgs = [ "-L nixos" ];
|
||||
extraArgs = [ "-L ${label}" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -123,7 +123,7 @@
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
options = "--delete-older-than 10d";
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user