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";
# in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# (import "${home-manager}/nixos")
# <home-manager>/nixos
];
# imports =
# [ # Include the results of the hardware scan.
# # ./hardware-configuration.nix
# # (import "${home-manager}/nixos")
# # <home-manager>/nixos
# ];
# Bootloader.
boot.loader.systemd-boot.enable = true;

View File

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