diff --git a/machines/ace/home.nix b/machines/ace/home.nix index 0da2838..be7055f 100644 --- a/machines/ace/home.nix +++ b/machines/ace/home.nix @@ -278,12 +278,12 @@ t = "/home/mrflos/Code/nixos-config/scripts/tmux-sessionizer"; kdenix = "nix run github:pjones/plasma-manager --extra-experimental-features nix-command --extra-experimental-features flakes > /home/mrflos/Developpements/nixos-config/modules/home-plasma.nix"; icat = "kitty +kitten icat"; - nixedit = "vi /etc/nixos"; - nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch"; + nixedit = "cd $HOME/Code/nixos-config/ && $HOME/.nix-profile/bin/nvim ."; + nixupdate = "nix-channel --update && home-manager switch"; nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc"; socks = "ssh -N -f -C -D 9090 mrflos@yunohost.yeswiki.net -p 6742"; - vi = "/run/current-system/sw/bin/nvim"; - vim = "/run/current-system/sw/bin/nvim"; + vi = "$HOME/.nix-profile/bin/nvim"; + vim = "$HOME/.nix-profile/bin/nvim"; yeswiki-updater = "cd /home/mrflos/Code/yeswiki-installer/ && sudo php yeswiki-updater.php"; }; initExtra = ''