From 45bde33b557a3c70bcd04872e86dd51f31abce20 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 6 Sep 2024 10:41:31 +0300 Subject: [PATCH] modules: rename persintence to presistent --- hosts/asus-gl553vd/configs/imp.nix | 1 - modules/nixos/programs/browsers/default.nix | 4 ++-- modules/nixos/programs/communication/skype.nix | 2 +- modules/nixos/programs/communication/telegram.nix | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/asus-gl553vd/configs/imp.nix b/hosts/asus-gl553vd/configs/imp.nix index 722041d..50f0341 100644 --- a/hosts/asus-gl553vd/configs/imp.nix +++ b/hosts/asus-gl553vd/configs/imp.nix @@ -46,7 +46,6 @@ "/var/lib/nixos" "/var/lib/systemd/coredump" "/etc/NetworkManager/system-connections" - "/etc/ssh/per-machine" ]; files = [ "/etc/machine-id" diff --git a/modules/nixos/programs/browsers/default.nix b/modules/nixos/programs/browsers/default.nix index c63da7e..7815093 100644 --- a/modules/nixos/programs/browsers/default.nix +++ b/modules/nixos/programs/browsers/default.nix @@ -85,7 +85,7 @@ in "/tmp/.X11-unix" = {}; "/etc/ssh/keys" = { isReadOnly = false; - hostPath = "/persistence/per-machine/browsers/etc/ssh/keys"; + hostPath = "/persistent/per-machine/browsers/etc/ssh/keys"; }; "/home/kira/Downloads" = { isReadOnly = false; @@ -97,7 +97,7 @@ in (lib.mkIf cfg.librewolf.enable { "/home/kira/.librewolf" = { isReadOnly = false; - hostPath = "/persistence/per-machine/browsers/home/kira/.librewolf"; + hostPath = "/persistent/per-machine/browsers/home/kira/.librewolf"; }; }) ]; diff --git a/modules/nixos/programs/communication/skype.nix b/modules/nixos/programs/communication/skype.nix index da66926..b2e5be8 100644 --- a/modules/nixos/programs/communication/skype.nix +++ b/modules/nixos/programs/communication/skype.nix @@ -66,7 +66,7 @@ in "/tmp/.X11-unix" = { }; "/etc/ssh/keys" = { isReadOnly = false; - hostPath = "/persistence/per-machine/skype/etc/ssh/keys"; + hostPath = "/persistent/per-machine/skype/etc/ssh/keys"; }; "/run/opengl-driver/lib" = { }; "/run/opengl-driver-32/lib" = { }; diff --git a/modules/nixos/programs/communication/telegram.nix b/modules/nixos/programs/communication/telegram.nix index a0a9ba6..7857e24 100644 --- a/modules/nixos/programs/communication/telegram.nix +++ b/modules/nixos/programs/communication/telegram.nix @@ -66,7 +66,7 @@ in "/tmp/.X11-unix" = { }; "/etc/ssh/keys" = { isReadOnly = false; - hostPath = "/persistence/per-machine/telegram/etc/ssh/keys"; + hostPath = "/persistent/per-machine/telegram/etc/ssh/keys"; }; "/run/opengl-driver/lib" = { }; "/run/opengl-driver-32/lib" = { };