alien: adjust hardware setup
This commit is contained in:
parent
69a1bf179f
commit
4eb7321460
1 changed files with 56 additions and 37 deletions
|
|
@ -21,50 +21,69 @@
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems = {
|
||||||
device = "/dev/disk/by-uuid/d83ec136-df01-4b9e-a523-6d75726fb904";
|
"/" = {
|
||||||
fsType = "btrfs";
|
label = "nixos";
|
||||||
options = [
|
fsType = "btrfs";
|
||||||
"subvol=@"
|
options = [
|
||||||
"compress=zstd"
|
"subvol=root"
|
||||||
];
|
"compress=zstd"
|
||||||
};
|
"relatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/e369d905-a82b-45c5-838a-323169233583";
|
label = "EFI";
|
||||||
fsType = "btrfs";
|
fsType = "vfat";
|
||||||
options = [
|
options = [
|
||||||
"compress=zstd"
|
"fmask=0022"
|
||||||
"noatime"
|
"dmask=0022"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
"/home" = {
|
||||||
device = "/dev/disk/by-uuid/6444-169A";
|
label = "nixos";
|
||||||
fsType = "vfat";
|
fsType = "btrfs";
|
||||||
options = [
|
options = [
|
||||||
"fmask=0077"
|
"subvol=home"
|
||||||
"dmask=0077"
|
"compress=zstd"
|
||||||
];
|
"relatime"
|
||||||
};
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/home" = {
|
"/nix" = {
|
||||||
device = "/dev/disk/by-uuid/881bdf55-1e43-4bfc-a1bf-3b2f72dbc122";
|
label = "nixos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "compress=zstd" ];
|
options = [
|
||||||
};
|
"subvol=nix"
|
||||||
|
"compress=zstd"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/storage" = {
|
"/snapshots" = {
|
||||||
device = "/dev/disk/by-uuid/39a22912-3570-4842-bdcb-df52664745a6";
|
label = "nixos";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [
|
options = [
|
||||||
"compress=zstd"
|
"subvol=snapshots"
|
||||||
"nofail"
|
"compress=zstd"
|
||||||
];
|
"noatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/mnt/storage" = {
|
||||||
|
label = "storage";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [
|
||||||
|
"compress=zstd"
|
||||||
|
"nofail"
|
||||||
|
"relatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{ device = "/dev/disk/by-uuid/056af100-9382-4cbd-b3d5-90df7da69585"; }
|
{ label = "swap"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue