From 2c03d99b550ab99cf470d04788fd57395163f45a Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Sat, 9 Mar 2024 22:01:51 +0100 Subject: [PATCH] Include hardware configuration in flake --- configuration.nix | 5 +---- flake.nix | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index bbca0a2..998e8c1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,10 +5,7 @@ { config, pkgs, lib, ... }: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; + imports = []; # Bootloader. boot.loader.grub.enable = true; diff --git a/flake.nix b/flake.nix index 42419f8..6347e9b 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ nixosConfigurations = { lift = lib.nixosSystem { system = "x64_64-linux"; - modules = [ ./configuration.nix ./sway.nix ]; + modules = [ ./configuration.nix ./sway.nix ./hardware-configuration.nix ]; }; }; };