diff --git a/config/system/persistence.nix b/config/system/persistence.nix index 8851658..fdf808a 100644 --- a/config/system/persistence.nix +++ b/config/system/persistence.nix @@ -22,7 +22,8 @@ in "Music" "Documents" "Pictures" - "Videos" + "Videos" + "zaneyos" ".local/share/sddm" ".mozilla" ".cache" diff --git a/hardware.nix b/hardware.nix index 2f71a1a..46372b0 100644 --- a/hardware.nix +++ b/hardware.nix @@ -44,13 +44,6 @@ options = [ "bind" ]; }; - fileSystems."/home/${username}/zaneyos" = - { - device = "/nix/persist/etc/nixos/zaneyos"; - fsType = "none"; - options = [ "bind" ]; - }; - fileSystems."/var/log" = { device = "/nix/persist/var/log"; diff --git a/install-zaneyos.sh b/install-zaneyos.sh index 0ef3c9b..f944fc6 100755 --- a/install-zaneyos.sh +++ b/install-zaneyos.sh @@ -28,13 +28,11 @@ if [ -d "zaneyos" ]; then echo "ZaneyOS exists, backing up to .config/zaneyos-backups folder." if [ -d ".config/zaneyos-backups" ]; then echo "Moving current version of ZaneyOS to backups folder." - sudo umount $HOME/zaneyos sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname sleep 1 else echo "Creating the backups folder & moving ZaneyOS to it." mkdir .config/zaneyos-backups - sudo umount $HOME/zaneyos sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname sleep 1 fi