Changed other hostnames

This commit is contained in:
xeovalyte 2025-01-10 13:55:26 +01:00
parent ecc8187973
commit 44c97f169d
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
8 changed files with 10 additions and 21 deletions

View File

@ -58,7 +58,7 @@
]; ];
}; };
xv-surface = nixpkgs.lib.nixosSystem { ti-clt-tbl01 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
@ -67,17 +67,17 @@
inputs.nixos-hardware.nixosModules.microsoft-surface-go inputs.nixos-hardware.nixosModules.microsoft-surface-go
nixos-cosmic.nixosModules.default 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"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ 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; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs nix-colors; }; extraSpecialArgs = { inherit inputs nix-colors; };
modules = [ modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ 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; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs nix-colors; }; extraSpecialArgs = { inherit inputs nix-colors; };
modules = [ modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/desktop/home.nix ./hosts/ti-clt-dsk01/home.nix
]; ];
}; };
}; };

View File

@ -13,8 +13,6 @@
}; };
settings = { settings = {
hostname = "ch-clt-dsk01";
applications.common.enable = true; applications.common.enable = true;
applications.alacritty.enable = false; applications.alacritty.enable = false;
applications.devenv.enable = false; applications.devenv.enable = false;
@ -55,13 +53,4 @@
home.stateVersion = "24.05"; home.stateVersion = "24.05";
}; };
options = {
settings.hostname = lib.mkOption {
type = with lib.types; str;
description = ''
Define the host of the machine
'';
};
};
} }

View File

@ -59,7 +59,7 @@
}; };
# Networking configuration # Networking configuration
networking.hostName = "xv-desktop"; # Define your hostname. networking.hostName = "ti-clt-dsk01"; # Define your hostname.
networking.interfaces.enp7s0.wakeOnLan.enable = true; networking.interfaces.enp7s0.wakeOnLan.enable = true;
users.users.xeovalyte = { users.users.xeovalyte = {

View File

@ -59,7 +59,7 @@
configurationLimit = 32; configurationLimit = 32;
}; };
networking.hostName = "xv-surface"; # Define your hostname. networking.hostName = "ti-clt-tbl01"; # Define your hostname.
users.users.xeovalyte = { users.users.xeovalyte = {
isNormalUser = true; isNormalUser = true;