diff options
| author | schererleander <leander@schererleander.de> | 2025-08-17 00:03:59 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-08-17 00:07:48 +0200 |
| commit | 24c99cf22e012e07509505b4efdc528589008dd4 (patch) | |
| tree | 7a1eaa310fe747fe910286eac3c047f936a4a129 /hosts | |
| parent | 3bb78df81f840bc542140129c488050628b40881 (diff) | |
feat: rename hosts
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/adam/audio.nix (renamed from hosts/desktop/audio.nix) | 0 | ||||
| -rw-r--r-- | hosts/adam/configuration.nix (renamed from hosts/desktop/configuration.nix) | 4 | ||||
| -rw-r--r-- | hosts/adam/hardware-configuration.nix (renamed from hosts/desktop/hardware-configuration.nix) | 0 | ||||
| -rw-r--r-- | hosts/adam/home.nix (renamed from hosts/desktop/home.nix) | 0 | ||||
| -rw-r--r-- | hosts/adam/wooting.nix (renamed from hosts/desktop/wooting.nix) | 0 | ||||
| -rw-r--r-- | hosts/lilith/configuration.nix (renamed from hosts/macbook/configuration.nix) | 4 | ||||
| -rw-r--r-- | hosts/lilith/home.nix (renamed from hosts/macbook/home.nix) | 0 | ||||
| -rw-r--r-- | hosts/sachiel/configuration.nix (renamed from hosts/vps/configuration.nix) | 14 | ||||
| -rw-r--r-- | hosts/sachiel/hardware-configuration.nix (renamed from hosts/vps/hardware-configuration.nix) | 0 |
9 files changed, 16 insertions, 6 deletions
diff --git a/hosts/desktop/audio.nix b/hosts/adam/audio.nix index e34b073..e34b073 100644 --- a/hosts/desktop/audio.nix +++ b/hosts/adam/audio.nix diff --git a/hosts/desktop/configuration.nix b/hosts/adam/configuration.nix index 5d5cb37..5e29cfc 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/adam/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, username, ... }: +{ pkgs, host, username, ... }: { @@ -29,7 +29,7 @@ # Network networking = { - hostName = "nixos"; + hostName = host; networkmanager.enable = true; }; diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/adam/hardware-configuration.nix index 9338f30..9338f30 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/adam/hardware-configuration.nix diff --git a/hosts/desktop/home.nix b/hosts/adam/home.nix index 3e831d8..3e831d8 100644 --- a/hosts/desktop/home.nix +++ b/hosts/adam/home.nix diff --git a/hosts/desktop/wooting.nix b/hosts/adam/wooting.nix index 742ef29..742ef29 100644 --- a/hosts/desktop/wooting.nix +++ b/hosts/adam/wooting.nix diff --git a/hosts/macbook/configuration.nix b/hosts/lilith/configuration.nix index b9d2d02..b43278d 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/lilith/configuration.nix @@ -1,8 +1,10 @@ -{ username, ... }: +{ host, username, ... }: { users.users.${username}.home = "/Users/${username}"; + networking.hostName = host; + system.primaryUser = username; system.defaults = { dock = { diff --git a/hosts/macbook/home.nix b/hosts/lilith/home.nix index a0d25e4..a0d25e4 100644 --- a/hosts/macbook/home.nix +++ b/hosts/lilith/home.nix diff --git a/hosts/vps/configuration.nix b/hosts/sachiel/configuration.nix index 3811615..781d5c3 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/sachiel/configuration.nix @@ -1,4 +1,9 @@ -{ pkgs, username, ... }: +{ + pkgs, + host, + username, + ... +}: { imports = [ @@ -7,8 +12,11 @@ boot.tmp.cleanOnBoot = true; zramSwap.enable = true; - networking.hostName = "vps"; - networking.domain = "schererleander.de"; + + networking = { + hostName = host; + domain = "schererleander.de"; + }; security.sudo = { enable = true; diff --git a/hosts/vps/hardware-configuration.nix b/hosts/sachiel/hardware-configuration.nix index 68ab0a2..68ab0a2 100644 --- a/hosts/vps/hardware-configuration.nix +++ b/hosts/sachiel/hardware-configuration.nix |
