diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-05-30 17:42:54 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-05-30 17:42:54 +0200 |
commit | d0dfcd535ce27932f83d5419459668ebd1663335 (patch) | |
tree | 82dcc2570af277fd7f70514512fad6b654f329e7 /common.nix | |
parent | ba0f792f751bb231ea6fd6ddeb111e20a478e1c3 (diff) |
add back some persistent stuff
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -97,6 +97,18 @@ in depends = [ "/data" ]; }; + # keep some stuff persistent + environment.persistence."/nix/persistent" = { + hideMounts = true; + directories = [ + # systemd timers + { directory = "/var/lib/systemd/timers"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } + + # alsa state for persistent sound settings + { directory = "/var/lib/alsa"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } + ]; + }; + # enable fast dbus services.dbus.implementation = "broker"; |