From 01322618439af5461a40799f8bbe646627827716 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Fri, 6 Jun 2025 11:55:59 -0500 Subject: [PATCH] move hardware config via flake --- configuration.nix | 5 +---- flake.nix | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 01ad8aa..1d402ad 100755 --- a/configuration.nix +++ b/configuration.nix @@ -1,10 +1,7 @@ { config, lib, pkgs, ... }: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ]; + imports = [ ]; # Use the systemd-boot EFI boot loader. # boot.loader.systemd-boot.enable = true; diff --git a/flake.nix b/flake.nix index b3f01aa..19f036c 100755 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,8 @@ system = "x86_64-linux"; modules = [ ./configuration.nix + ./hardware-configuration.nix + ./disk-config.nix impermanence.nixosModules.impermanence sops-nix.nixosModules.sops home-manager.nixosModules.home-manager {