Simplify nixos-* justfile recipes

Make the hostname configurable for NixOS and remove the need to specify
the profile name when running `nixos-rebuild` commands as the hostname
can be used.
This commit is contained in:
Oliver Davies 2024-03-19 00:13:01 +00:00
parent a0b155ea8e
commit 5ebe064a28
4 changed files with 13 additions and 10 deletions

View file

@ -30,8 +30,8 @@
lib = import ./lib { inherit inputs; };
nixosConfigurations = {
apollo = mkNixos { desktop = true; };
nixedo = mkNixos { desktop = true; };
apollo = mkNixos { desktop = true; hostname = "apollo"; };
nixedo = mkNixos { desktop = true; hostname = "nixedo"; };
};
homeConfigurations = { wsl2 = mkWsl; };