From d9016aac15c714ad8563f72858c9692b54c797a1 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 19 Aug 2024 23:21:52 +0200 Subject: [PATCH] simplify persistence config --- share/common.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/common.nix b/share/common.nix index e458291..97614e8 100644 --- a/share/common.nix +++ b/share/common.nix @@ -105,14 +105,14 @@ in "/var/lib/nixos" # systemd timers - { directory = "/var/lib/systemd/timers"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } + "/var/lib/systemd/timers" # alsa state for persistent sound settings - { directory = "/var/lib/alsa"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } + "/var/lib/alsa" # NetworkManager connections - { directory = "/etc/NetworkManager"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } - { directory = "/var/lib/NetworkManager"; user = "root"; group = "root"; mode = "u=rwx,g=rx,o=rx"; } + "/etc/NetworkManager" + "/var/lib/NetworkManager" ]; };