Add rebuild command to replace "nou"

rebuild will also reload hyprland and sync doom after nixos-rebuild switch
This commit is contained in:
Evie Litherland-Smith 2023-10-08 15:29:28 +01:00
parent 37c312d582
commit b2f3c13a9b

View file

@ -204,8 +204,11 @@
environment = { environment = {
systemPackages = with pkgs; [ libsecret git neofetch nitch ]; systemPackages = with pkgs; [ libsecret git neofetch nitch ];
localBinInPath = true; localBinInPath = true;
shellAliases.nou = shellAliases.rebuild = ''
''sudo nixos-rebuild switch --flake "${flakeURL}" --refresh''; sudo nixos-rebuild switch --flake "${flakeURL}" --refresh \
&& hyprctl reload \
&& doom sync -p
'';
}; };
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
virtualisation.podman.enable = true; virtualisation.podman.enable = true;