From a00086f63df186181c254a164c77b974cc7a5c7c Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Mon, 29 Jun 2026 14:38:08 -0400 Subject: DRY for username --- hosts/bear/configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'hosts/bear/configuration.nix') diff --git a/hosts/bear/configuration.nix b/hosts/bear/configuration.nix index dc96c7a..7b0eed3 100644 --- a/hosts/bear/configuration.nix +++ b/hosts/bear/configuration.nix @@ -3,15 +3,20 @@ pkgs, inputs, nvim, + username, ... }: { + imports = [ + ./../../hjem-darwin.nix + ]; + networking = { computerName = "bear"; hostName = "bear"; localHostName = "bear"; }; # Primary user for user-specific settings (dock, etc.) - system.primaryUser = "andrewmontgomery"; + system.primaryUser = username; # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = with pkgs; [ @@ -70,7 +75,7 @@ homebrew = { enable = true; - user = "andrewmontgomery"; + user = username; taps = [ ]; -- cgit v1.3.1