Include hardware configuration in flake
This commit is contained in:
parent
85492545ae
commit
2c03d99b55
@ -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;
|
||||||
|
@ -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 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user