From 0345b4f609c834f1fda4b3f3c827d6e57c4a908d Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Fri, 21 Jul 2023 21:32:10 +0200 Subject: [PATCH] Rename host `bennu` to `pinwheel` --- Makefile | 6 +++--- flake.nix | 6 +++--- hosts/{bennu => pinwheel}/configs/.gitconfig | 0 hosts/{bennu => pinwheel}/configuration.nix | 2 +- hosts/{bennu => pinwheel}/hardware-configuration.nix | 0 hosts/{bennu => pinwheel}/home.nix | 0 6 files changed, 7 insertions(+), 7 deletions(-) rename hosts/{bennu => pinwheel}/configs/.gitconfig (100%) rename hosts/{bennu => pinwheel}/configuration.nix (98%) rename hosts/{bennu => pinwheel}/hardware-configuration.nix (100%) rename hosts/{bennu => pinwheel}/home.nix (100%) diff --git a/Makefile b/Makefile index 0873c94..76f773a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: bennu-switch +.PHONY: pinwheel-switch -bennu-switch: - nixos-rebuild switch --flake .#bennu +pinwheel-switch: + nixos-rebuild switch --flake .#pinwheel diff --git a/flake.nix b/flake.nix index 892ae8d..901f5f9 100644 --- a/flake.nix +++ b/flake.nix @@ -11,16 +11,16 @@ outputs = { self, nixpkgs2305, nixpkgs2211, nixos-hardware, home-manager, ... }: { nixosConfigurations = { - bennu = nixpkgs2305.lib.nixosSystem { + pinwheel = nixpkgs2305.lib.nixosSystem { system = "x86_64-linux"; modules = [ nixos-hardware.nixosModules.lenovo-thinkpad-x1-10th-gen - ./hosts/bennu/configuration.nix + ./hosts/pinwheel/configuration.nix home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.alex = import ./hosts/bennu/home.nix; + home-manager.users.alex = import ./hosts/pinwheel/home.nix; } ]; }; diff --git a/hosts/bennu/configs/.gitconfig b/hosts/pinwheel/configs/.gitconfig similarity index 100% rename from hosts/bennu/configs/.gitconfig rename to hosts/pinwheel/configs/.gitconfig diff --git a/hosts/bennu/configuration.nix b/hosts/pinwheel/configuration.nix similarity index 98% rename from hosts/bennu/configuration.nix rename to hosts/pinwheel/configuration.nix index 94bcb3f..058823b 100644 --- a/hosts/bennu/configuration.nix +++ b/hosts/pinwheel/configuration.nix @@ -21,7 +21,7 @@ "/crypto_keyfile.bin" = null; }; - networking.hostName = "bennu"; # Define your hostname. + networking.hostName = "pinwheel"; # Define your hostname. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary diff --git a/hosts/bennu/hardware-configuration.nix b/hosts/pinwheel/hardware-configuration.nix similarity index 100% rename from hosts/bennu/hardware-configuration.nix rename to hosts/pinwheel/hardware-configuration.nix diff --git a/hosts/bennu/home.nix b/hosts/pinwheel/home.nix similarity index 100% rename from hosts/bennu/home.nix rename to hosts/pinwheel/home.nix