diff --git a/flake.nix b/flake.nix index e8b8c522..b5f66f7d 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,6 @@ stylix.nixosModules.stylix nix-gaming.nixosModules.pipewireLowLatency ./src/main.nix - ./hardware-configuration.nix ]; }; }; diff --git a/hardware-configuration.nix b/hosts/laptop.nix similarity index 100% rename from hardware-configuration.nix rename to hosts/laptop.nix diff --git a/src/main.nix b/src/main.nix index 1cb4ff2c..72708b26 100644 --- a/src/main.nix +++ b/src/main.nix @@ -8,6 +8,7 @@ VARIABLES = import ./variables.nix; in { imports = [ + "${VARIABLES.hostHardwareConfiguration}" ../modules ../containers/rar.nix ../containers/wine.nix diff --git a/src/variables.nix b/src/variables.nix index c1eb2197..d82095b8 100644 --- a/src/variables.nix +++ b/src/variables.nix @@ -2,4 +2,5 @@ hostname = "nixos"; system = "x86_64-linux"; timezone = "America/New_York"; + hostHardwareConfiguration = ../hosts/laptop.nix; }