From 4083348a3b58877e1ea093369d4960d6824ac1aa Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 Jun 2023 07:42:53 -0400 Subject: [PATCH] meta: Move up hardware-configuration import --- default.nix | 3 ++- src/main.nix | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/default.nix b/default.nix index 10a64bb..a54aebc 100644 --- a/default.nix +++ b/default.nix @@ -1,10 +1,11 @@ { home-manager, stylix, nix-gaming, ... }: -{ +let VARIABLES = import ./src/variables.nix; in { imports = [ home-manager.nixosModules.home-manager stylix.nixosModules.stylix nix-gaming.nixosModules.pipewireLowLatency + "${VARIABLES.hostHardwareConfiguration}" ./containers ./home ./modules diff --git a/src/main.nix b/src/main.nix index 768e7c7..2c4d452 100644 --- a/src/main.nix +++ b/src/main.nix @@ -6,10 +6,6 @@ }: let VARIABLES = import ./variables.nix; in { - imports = [ - "${VARIABLES.hostHardwareConfiguration}" - ]; - environment.systemPackages = with pkgs; [ hypr-contrib.packages."${VARIABLES.system}".grimblast nix-gaming.packages."${VARIABLES.system}".osu-stable