diff --git a/hosts/pickwick/default.nix b/hosts/pickwick/default.nix index 592160f..855f4f1 100644 --- a/hosts/pickwick/default.nix +++ b/hosts/pickwick/default.nix @@ -1,5 +1,3 @@ -# This is your system's configuration file. -# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix) { inputs, lib, @@ -9,6 +7,7 @@ dots, user, hm, + host, ... }: { # You can import other NixOS modules here @@ -31,7 +30,6 @@ bluetooth.enable = true; }; - networking.hostName = "pickwick"; time.timeZone = "America/Chicago"; users.users = { @@ -39,7 +37,7 @@ initialPassword = "abc123"; isNormalUser = true; openssh.authorizedKeys.keys = []; - extraGroups = ["wheel" "video" "audio" "networkmanager"]; + extraGroups = ["wheel" "video" "audio" "networkmanager"]; }; }; } diff --git a/nixos/default.nix b/nixos/default.nix index f4fa668..151e87c 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -4,6 +4,7 @@ config, pkgs, system, + host, ... }: { imports = [ @@ -34,6 +35,7 @@ }; # networking + networking.hostName = host; networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName); networking.networkmanager.enable = true;