global/general: replace ensure with systemd tmpfiles
This commit is contained in:
parent
6cfbf62470
commit
d09fc8a2b2
3 changed files with 5 additions and 25 deletions
|
@ -13,13 +13,15 @@
|
|||
# Enable Early Out of Memory service
|
||||
earlyoom.enable = true;
|
||||
|
||||
# Ensure certain necessary directories always exist
|
||||
ensure.directories = [ "/mnt" ];
|
||||
|
||||
# Accept EULA for all minecraft servers
|
||||
minecraft-servers.eula = true;
|
||||
};
|
||||
|
||||
# Ensure certain necessary directories always exist
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /mnt 0777 root root - -"
|
||||
];
|
||||
|
||||
system.activationScripts = {
|
||||
# FIX: command-not-found database doesn't exist normally
|
||||
# FIXME: activation script doesn't work properly, and frequently errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue