diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | hosts/navi/default.nix | 29 | ||||
-rw-r--r-- | mixins/syncthing.nix | 14 |
3 files changed, 14 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore index ba15d45..34318af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.img *.fd *.tgz +*.qcow2 +result diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix index 0620512..3424a87 100644 --- a/hosts/navi/default.nix +++ b/hosts/navi/default.nix @@ -68,26 +68,15 @@ # client.enable = true; # torsocks.enable = true; # }; - environment.persistence."/nix/persist".directories = [ - "/etc/NetworkManager/system-connections" - { - directory = "/home/tzlil/.config/SchildiChat"; - user = "tzlil"; - group = "users"; - } - { - directory = "/home/tzlil/.local/share/Terraria"; - user = "tzlil"; - group = "users"; - } - - { - directory = "/home/tzlil/.local/share/Steam"; - user = "tzlil"; - group = "users"; - } - "/var/lib/docker" - ]; + environment.persistence."/nix/persist" = { + directories = [ + "/etc/NetworkManager/system-connections" + "/var/lib/docker" + ]; + users.tzlil = { + directories = [".config/SchildiChat" ".local/share/Terraria" ".local/share/Steam"]; + }; + }; home-manager.users.tzlil = { home.packages = [pkgs.schildichat-desktop-wayland pkgs.keepassxc pkgs.gtkcord4]; diff --git a/mixins/syncthing.nix b/mixins/syncthing.nix index 8928969..ac9944b 100644 --- a/mixins/syncthing.nix +++ b/mixins/syncthing.nix @@ -24,17 +24,9 @@ }; }; - environment.persistence."/nix/persist".directories = [ - { - directory = "/home/tzlil/sync"; - user = "tzlil"; - group = "users"; - } - { - directory = "/home/tzlil/.config/syncthing"; - user = "tzlil"; - group = "users"; - } + environment.persistence."/nix/persist".users.tzlil.directories = [ + "sync" + ".config/syncthing" ]; }; } |