add rustdesk and docker to persist

This commit is contained in:
2024-07-04 11:08:41 +02:00
parent 51534cc80f
commit 6b4dd0c291
2 changed files with 6 additions and 9 deletions

View File

@@ -19,7 +19,6 @@ in {
./utils/modules/sops.nix ./utils/modules/sops.nix
./utils/modules/nur.nix ./utils/modules/nur.nix
./modules/sway/sway.nix ./modules/sway/sway.nix
# ./modules/gnome.nix
./modules/printer.nix ./modules/printer.nix
./modules/nvim/default.nix ./modules/nvim/default.nix
./utils/modules/autoupgrade.nix ./utils/modules/autoupgrade.nix
@@ -52,6 +51,7 @@ in {
"/var/bento" "/var/bento"
"/var/log" "/var/log"
"/var/lib/bluetooth" "/var/lib/bluetooth"
"/var/lib/docker"
"/var/lib/nixos" "/var/lib/nixos"
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
]; ];
@@ -64,7 +64,10 @@ in {
]; ];
}; };
services.openssh.enable = true;
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
sops.age.generateKey = true; sops.age.generateKey = true;
sops.secrets.epicenter_vpn_ca = {}; sops.secrets.epicenter_vpn_ca = {};

View File

@@ -91,7 +91,9 @@ in
home.persistence."/nix/persist/user/dominik" = { home.persistence."/nix/persist/user/dominik" = {
allowOther = true; allowOther = true;
directories = [ directories = [
".config/libreoffice"
".config/Nextcloud" ".config/Nextcloud"
".config/rustdesk"
".config/Signal" ".config/Signal"
".local/share/keyrings" ".local/share/keyrings"
".mozilla" ".mozilla"
@@ -312,14 +314,6 @@ in
home.file.".local/share/nvim/project_nvim/project_history".source = ./configs/project_history; home.file.".local/share/nvim/project_nvim/project_history".source = ./configs/project_history;
home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json; home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json;
/* Setup nextcloud folders */
# home.activation.nextcloud = lib.hm.dag.entryAfter ["writeBoundary"] ''
# set +eu
# ${pkgs.coreutils}/bin/mkdir ~/cloud.cloonar.com
# ${pkgs.coreutils}/bin/mkdir ~/cloud.epicenter.works
# set -eu
# '';
programs.ssh = { programs.ssh = {
enable = true; enable = true;
matchBlocks = { matchBlocks = {