Include hardware configuration in flake

This commit is contained in:
Johannes Rothe 2024-03-09 22:01:51 +01:00
parent 85492545ae
commit 2c03d99b55
2 changed files with 2 additions and 5 deletions

View File

@ -5,10 +5,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
imports = imports = [];
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader. # Bootloader.
boot.loader.grub.enable = true; boot.loader.grub.enable = true;

View File

@ -12,7 +12,7 @@
nixosConfigurations = { nixosConfigurations = {
lift = lib.nixosSystem { lift = lib.nixosSystem {
system = "x64_64-linux"; system = "x64_64-linux";
modules = [ ./configuration.nix ./sway.nix ]; modules = [ ./configuration.nix ./sway.nix ./hardware-configuration.nix ];
}; };
}; };
}; };