move hardware config ask to flake, does this work?

This commit is contained in:
mir 2024-02-25 21:29:57 -09:00
parent 8be626d8ae
commit 160a30dc18
2 changed files with 7 additions and 6 deletions

View File

@ -7,12 +7,12 @@
# home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz"; # home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
# in # in
{ {
imports = # imports =
[ # Include the results of the hardware scan. # [ # Include the results of the hardware scan.
./hardware-configuration.nix # # ./hardware-configuration.nix
# (import "${home-manager}/nixos") # # (import "${home-manager}/nixos")
# <home-manager>/nixos # # <home-manager>/nixos
]; # ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View File

@ -13,6 +13,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./configuration.nix
./hardware-configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;