From fa7e3d178ecc7a9dcfacda67535db6a9b455468c Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 6 Aug 2024 00:06:45 -0700 Subject: [PATCH] refactor: move hardware configuration to machine-specific directory --- flake.nix | 1 + .../nixos/hardware-configuration.nix | 0 modules/nixos/nixos-configuration.nix | 6 +++--- 3 files changed, 4 insertions(+), 3 deletions(-) rename hardware-configuration.nix => machines/nixos/hardware-configuration.nix (100%) diff --git a/flake.nix b/flake.nix index 66fadd1..572552a 100755 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ ./modules/nixos/nvidia.nix ./modules/nixos/networking.nix ./modules/common/fonts.nix + ./machines/nixos/hardware-configuration.nix catppuccin.nixosModules.catppuccin diff --git a/hardware-configuration.nix b/machines/nixos/hardware-configuration.nix similarity index 100% rename from hardware-configuration.nix rename to machines/nixos/hardware-configuration.nix diff --git a/modules/nixos/nixos-configuration.nix b/modules/nixos/nixos-configuration.nix index f2817a4..a36a326 100755 --- a/modules/nixos/nixos-configuration.nix +++ b/modules/nixos/nixos-configuration.nix @@ -5,9 +5,9 @@ { config, inputs, pkgs, ... }: { - imports = [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; + # imports = [ # Include the results of the hardware scan. + # ./hardware-configuration.nix + # ]; # Bootloader. boot.loader = {