From b32a6711db58b4d8872cd18b15632e2f47dbcba5 Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 2 Aug 2023 13:06:16 +0200 Subject: Feat(sys/impermanence): Add persistent dir /var/lib/bluetooth --- sys/default.nix | 1 + sys/impermanence/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 sys/impermanence/default.nix 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"; + } + ]; +} -- cgit 1.4.1