sdcard-based machines: move to a profile

main
Motiejus Jakštys 2024-04-03 17:20:51 +03:00
parent 486a5e4fea
commit 9eb8cdca9e
3 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,7 @@
in {
imports = [
../../modules
../../modules/profiles/sdcard
../../shared/platform/orangepi5plus.nix
];

View File

@ -7,9 +7,9 @@
myData,
...
}: {
# previously:
# imports = [(modulesPath + "/installer/scan/not-detected.nix")];
# as of 23.05 that is:
imports = [
../../modules/profiles/sdcard
];
boot = {
initrd = {
@ -112,8 +112,6 @@
};
};
services.journald.extraConfig = "Storage=volatile";
environment.etc = {
"datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path;
};

View File

@ -0,0 +1,3 @@
_: {
services.journald.extraConfig = "Storage=volatile";
}