From 5be174d713bf3c1fa450d32c9d6c6f126b40d8bc Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:16:02 +1000 Subject: [PATCH] nix: rename host pluto to twinkpad --- flake.nix | 6 +++--- hosts/{pluto => twinkpad}/conf.nix | 3 ++- hosts/{pluto => twinkpad}/hardware-configuration.nix | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename hosts/{pluto => twinkpad}/conf.nix (63%) rename hosts/{pluto => twinkpad}/hardware-configuration.nix (100%) diff --git a/flake.nix b/flake.nix index 79619c5..fa909e6 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ }; outputs = { self, nixpkgs, lanzaboote, nix-darwin, disko, ... }@inputs: { - nixosConfigurations.pluto = nixpkgs.lib.nixosSystem { + nixosConfigurations.twinkpad = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./hosts/nixos-common.nix @@ -37,8 +37,8 @@ ./hosts/disko-desktop.nix disko.nixosModules.disko - ./hosts/pluto/conf.nix - ./hosts/pluto/hardware-configuration.nix + ./hosts/twinkpad/conf.nix + ./hosts/twinkpad/hardware-configuration.nix ]; }; diff --git a/hosts/pluto/conf.nix b/hosts/twinkpad/conf.nix similarity index 63% rename from hosts/pluto/conf.nix rename to hosts/twinkpad/conf.nix index 9b58944..aab439f 100644 --- a/hosts/pluto/conf.nix +++ b/hosts/twinkpad/conf.nix @@ -1,7 +1,8 @@ { config, lib, pkgs, ... }: { - networking.hostName = "pluto"; + imports = [ ./hardware-configuration.nix ]; + networking.hostName = "twinkpad"; hardware.graphics.enable = true; hardware.graphics.extraPackages = with pkgs; [ intel-media-driver ]; diff --git a/hosts/pluto/hardware-configuration.nix b/hosts/twinkpad/hardware-configuration.nix similarity index 100% rename from hosts/pluto/hardware-configuration.nix rename to hosts/twinkpad/hardware-configuration.nix