From 160a30dc18d49c96527ba61ec6b19b062ca2ff03 Mon Sep 17 00:00:00 2001 From: mir Date: Sun, 25 Feb 2024 21:29:57 -0900 Subject: [PATCH] move hardware config ask to flake, does this work? --- configuration.nix | 12 ++++++------ flake.nix | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3291e93..de9c192 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,12 +7,12 @@ # home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz"; # in { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - # (import "${home-manager}/nixos") - # /nixos - ]; + # imports = + # [ # Include the results of the hardware scan. + # # ./hardware-configuration.nix + # # (import "${home-manager}/nixos") + # # /nixos + # ]; # Bootloader. boot.loader.systemd-boot.enable = true; diff --git a/flake.nix b/flake.nix index 6b926df..2bfbd43 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,7 @@ system = "x86_64-linux"; modules = [ ./configuration.nix + ./hardware-configuration.nix home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true;