diff options
author | sils <sils@sils.li> | 2023-08-02 13:06:16 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-08-02 13:07:07 +0200 |
commit | b32a6711db58b4d8872cd18b15632e2f47dbcba5 (patch) | |
tree | 8c13aa1ab7844783b669f253cd7b727a812a2ea2 /sys | |
parent | Fix(u/sils/zsh): Add sys-update function (diff) | |
download | nix-config-b32a6711db58b4d8872cd18b15632e2f47dbcba5.tar.gz nix-config-b32a6711db58b4d8872cd18b15632e2f47dbcba5.zip |
Feat(sys/impermanence): Add persistent dir /var/lib/bluetooth
Diffstat (limited to '')
-rw-r--r-- | sys/default.nix | 1 | ||||
-rw-r--r-- | sys/impermanence/default.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/default.nix b/sys/default.nix index 37fcb5a..d38321a 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -4,6 +4,7 @@ ./desktop/awesome ./environment ./font + ./impermanence ./keyboard ./nix ./packages diff --git a/sys/impermanence/default.nix b/sys/impermanence/default.nix new file mode 100644 index 0000000..d62b871 --- /dev/null +++ b/sys/impermanence/default.nix @@ -0,0 +1,10 @@ +{...}: { + environment.persistence."/srv".directories = [ + { + directory = "/var/lib/bluetooth"; + user = "root"; + group = "root"; + mode = "0700"; + } + ]; +} |