about summary refs log tree commit diff
path: root/nixos/kanata
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-23 08:36:56 +0900
committersefidel <contact@sefidel.net>2024-08-23 08:36:56 +0900
commitc7ce5204f0b7a2d23feed66593704fae4e0606a5 (patch)
tree45145a9a68b5bd5eb9b1bbf4b218b862b3dc7426 /nixos/kanata
parentd34fcbbfb71cbbc5701bde4262d5924c9f6fc638 (diff)
downloadnixrc-c7ce5204f0b7a2d23feed66593704fae4e0606a5.tar.gz
nixrc-c7ce5204f0b7a2d23feed66593704fae4e0606a5.zip
fix(nixos): persist /var/lib/nixos
* fixes occasional permission errors
Diffstat (limited to 'nixos/kanata')
-rw-r--r--nixos/kanata/configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix
index 7c4e7b5..32e4cee 100644
--- a/nixos/kanata/configuration.nix
+++ b/nixos/kanata/configuration.nix
@@ -160,6 +160,7 @@ in
   networking.firewall.allowedTCPPorts = [ 80 443 ];
   modules = {
     persistence.directories = [
+      "/var/lib/nixos"
       "/var/lib/tailscale"
       "/var/lib/nixos-containers"
     ];