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