sdcard-based machines: move to a profile
This commit is contained in:
parent
486a5e4fea
commit
9eb8cdca9e
|
@ -7,6 +7,7 @@
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../../modules
|
../../modules
|
||||||
|
../../modules/profiles/sdcard
|
||||||
../../shared/platform/orangepi5plus.nix
|
../../shared/platform/orangepi5plus.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
myData,
|
myData,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# previously:
|
imports = [
|
||||||
# imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
../../modules/profiles/sdcard
|
||||||
# as of 23.05 that is:
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
|
@ -112,8 +112,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.journald.extraConfig = "Storage=volatile";
|
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path;
|
"datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path;
|
||||||
};
|
};
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
_: {
|
||||||
|
services.journald.extraConfig = "Storage=volatile";
|
||||||
|
}
|
Loading…
Reference in New Issue