attempt 2
This commit is contained in:
parent
cfd74c946c
commit
f92d9bd462
1 changed files with 14 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
let
|
let
|
||||||
BOOT = "/dev/disk/by-uuid/6E40-637E";
|
BOOT = "/dev/disk/by-uuid/ABDB-2A38";
|
||||||
PRIMARY = "/dev/disk/by-uuid/ec589da0-4deb-44a3-abcb-9a7016d84519";
|
PRIMARY = "/dev/disk/by-uuid/08610781-26d3-456f-9026-35dd4a40846f";
|
||||||
|
|
||||||
USB_KEY = "/dev/disk/by-uuid/9985-EBD1";
|
USB_KEY = "/dev/disk/by-uuid/9985-EBD1";
|
||||||
in
|
in
|
||||||
|
|
@ -10,6 +10,10 @@ in
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = BOOT;
|
device = BOOT;
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
|
options = [
|
||||||
|
"fmask=0022"
|
||||||
|
"dmask=0022"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# PRIMARY unencrypt
|
# PRIMARY unencrypt
|
||||||
|
|
@ -33,14 +37,6 @@ in
|
||||||
"relatime"
|
"relatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
fileSystems."/.swap" = {
|
|
||||||
device = PRIMARY;
|
|
||||||
fsType = "bcachefs";
|
|
||||||
options = [
|
|
||||||
"X-mount.subdir=@swap"
|
|
||||||
"noatime"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
fileSystems."/.snapshots" = {
|
fileSystems."/.snapshots" = {
|
||||||
device = PRIMARY;
|
device = PRIMARY;
|
||||||
fsType = "bcachefs";
|
fsType = "bcachefs";
|
||||||
|
|
@ -49,6 +45,14 @@ in
|
||||||
"relatime"
|
"relatime"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
fileSystems."/.swap" = {
|
||||||
|
device = PRIMARY;
|
||||||
|
fsType = "bcachefs";
|
||||||
|
options = [
|
||||||
|
"X-mount.subdir=@swap"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
|
};
|
||||||
# (optional) for preservation/impermanence
|
# (optional) for preservation/impermanence
|
||||||
fileSystems."/persist" = {
|
fileSystems."/persist" = {
|
||||||
device = PRIMARY;
|
device = PRIMARY;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue