1
1
Fork 0

beatific: alias nixos-rebuild to nr

This commit is contained in:
Tim Van Baak 2023-12-18 12:39:12 -08:00
parent c0cbd43411
commit 7afcfbac2b
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ in {
networking.hostName = cfg.hostName; networking.hostName = cfg.hostName;
nix.extraOptions = "experimental-features = nix-command flakes"; nix.extraOptions = "experimental-features = nix-command flakes";
environment.etc.nixos.source = ./..; environment.etc.nixos.source = ./..;
environment.shellAliases.nr = "sudo nixos-rebuild --flake $HOME/nixos-configs";
} }
(mkIf cfg.defaults.time { (mkIf cfg.defaults.time {