Add rebuild command to replace "nou"
rebuild will also reload hyprland and sync doom after nixos-rebuild switch
This commit is contained in:
parent
37c312d582
commit
b2f3c13a9b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue