From 44c97f169de0f837a3b612e804abefbde85a9014 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 10 Jan 2025 13:55:26 +0100 Subject: [PATCH] Changed other hostnames --- flake.nix | 16 ++++++++-------- hosts/ch-clt-dsk01/home.nix | 11 ----------- hosts/{desktop => ti-clt-dsk01}/default.nix | 2 +- .../hardware-configuration.nix | 0 hosts/{desktop => ti-clt-dsk01}/home.nix | 0 hosts/{surface => ti-clt-tbl01}/default.nix | 2 +- .../hardware-configuration.nix | 0 hosts/{surface => ti-clt-tbl01}/home.nix | 0 8 files changed, 10 insertions(+), 21 deletions(-) rename hosts/{desktop => ti-clt-dsk01}/default.nix (96%) rename hosts/{desktop => ti-clt-dsk01}/hardware-configuration.nix (100%) rename hosts/{desktop => ti-clt-dsk01}/home.nix (100%) rename hosts/{surface => ti-clt-tbl01}/default.nix (96%) rename hosts/{surface => ti-clt-tbl01}/hardware-configuration.nix (100%) rename hosts/{surface => ti-clt-tbl01}/home.nix (100%) diff --git a/flake.nix b/flake.nix index f2a418b..c375c1e 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ ]; }; - xv-surface = nixpkgs.lib.nixosSystem { + ti-clt-tbl01 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ @@ -67,17 +67,17 @@ inputs.nixos-hardware.nixosModules.microsoft-surface-go nixos-cosmic.nixosModules.default - ./hosts/surface + ./hosts/ti-clt-tbl01 ]; }; - xv-desktop = nixpkgs.lib.nixosSystem { + ti-clt-dsk01 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) - ./hosts/desktop + ./hosts/ti-clt-dsk01 ]; }; }; @@ -103,23 +103,23 @@ ]; }; - "xeovalyte@xv-surface" = home-manager.lib.homeManagerConfiguration { + "xeovalyte@ti-clt-tbl01" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; extraSpecialArgs = { inherit inputs nix-colors; }; modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) - ./hosts/surface/home.nix + ./hosts/ti-clt-tbl01/home.nix ]; }; - "xeovalyte@xv-desktop" = home-manager.lib.homeManagerConfiguration { + "xeovalyte@ti-clt-dsk01" = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; extraSpecialArgs = { inherit inputs nix-colors; }; modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) - ./hosts/desktop/home.nix + ./hosts/ti-clt-dsk01/home.nix ]; }; }; diff --git a/hosts/ch-clt-dsk01/home.nix b/hosts/ch-clt-dsk01/home.nix index 57f62b1..d285633 100644 --- a/hosts/ch-clt-dsk01/home.nix +++ b/hosts/ch-clt-dsk01/home.nix @@ -13,8 +13,6 @@ }; settings = { - hostname = "ch-clt-dsk01"; - applications.common.enable = true; applications.alacritty.enable = false; applications.devenv.enable = false; @@ -55,13 +53,4 @@ home.stateVersion = "24.05"; }; - - options = { - settings.hostname = lib.mkOption { - type = with lib.types; str; - description = '' - Define the host of the machine - ''; - }; - }; } diff --git a/hosts/desktop/default.nix b/hosts/ti-clt-dsk01/default.nix similarity index 96% rename from hosts/desktop/default.nix rename to hosts/ti-clt-dsk01/default.nix index 0ea0e6c..85acf39 100644 --- a/hosts/desktop/default.nix +++ b/hosts/ti-clt-dsk01/default.nix @@ -59,7 +59,7 @@ }; # Networking configuration - networking.hostName = "xv-desktop"; # Define your hostname. + networking.hostName = "ti-clt-dsk01"; # Define your hostname. networking.interfaces.enp7s0.wakeOnLan.enable = true; users.users.xeovalyte = { diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/ti-clt-dsk01/hardware-configuration.nix similarity index 100% rename from hosts/desktop/hardware-configuration.nix rename to hosts/ti-clt-dsk01/hardware-configuration.nix diff --git a/hosts/desktop/home.nix b/hosts/ti-clt-dsk01/home.nix similarity index 100% rename from hosts/desktop/home.nix rename to hosts/ti-clt-dsk01/home.nix diff --git a/hosts/surface/default.nix b/hosts/ti-clt-tbl01/default.nix similarity index 96% rename from hosts/surface/default.nix rename to hosts/ti-clt-tbl01/default.nix index 49f94b0..e26c6d5 100644 --- a/hosts/surface/default.nix +++ b/hosts/ti-clt-tbl01/default.nix @@ -59,7 +59,7 @@ configurationLimit = 32; }; - networking.hostName = "xv-surface"; # Define your hostname. + networking.hostName = "ti-clt-tbl01"; # Define your hostname. users.users.xeovalyte = { isNormalUser = true; diff --git a/hosts/surface/hardware-configuration.nix b/hosts/ti-clt-tbl01/hardware-configuration.nix similarity index 100% rename from hosts/surface/hardware-configuration.nix rename to hosts/ti-clt-tbl01/hardware-configuration.nix diff --git a/hosts/surface/home.nix b/hosts/ti-clt-tbl01/home.nix similarity index 100% rename from hosts/surface/home.nix rename to hosts/ti-clt-tbl01/home.nix