From 198cfbc9e4f580a628b52d0687d24d6c1d88c235 Mon Sep 17 00:00:00 2001 From: 0xWheatyz Date: Thu, 12 Mar 2026 21:36:18 -0400 Subject: [PATCH] fix: correct flake configuration and remove duplicate home-manager setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update flake.nix with correct hostname (nixos) and username (l-wyatt) - Remove channel-based home-manager imports from configuration.nix - Eliminate duplicate home-manager.users configuration - Ensures flake-based home-manager works properly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- configuration.nix | 5 +---- flake.nix | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index d607a41..4e5951b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,7 +8,6 @@ imports = [ # Include the results of the hardware scan. /etc/nixos/hardware-configuration.nix - ]; ## Commented out as defined at the end of the page @@ -94,9 +93,7 @@ linger = true; extraGroups = [ "networkmanager" "wheel" "docker" "dialout" ]; }; - - home-manager.users.l-wyatt = import /home/l-wyatt/.config/home-manager/home.nix; - + nixpkgs.config.allowUnfree = true; # List packages installed in system profile. To search, run: # $ nix search wget diff --git a/flake.nix b/flake.nix index 4c55c86..832b906 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,7 @@ outputs = { self, nixpkgs, home-manager, ... }: { nixosConfigurations = { - yourhostname = nixpkgs.lib.nixosSystem { + nixos = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix @@ -38,7 +38,7 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.yourusername = import ./home.nix; + home-manager.users.l-wyatt = import ./home.nix; } ]; };