Relocated nixos-hardware import into host's hardware.nix

This commit is contained in:
James Patrick 2022-08-14 18:32:40 -04:00
parent 6b76516984
commit 470e1ca6b0
2 changed files with 4 additions and 5 deletions

View File

@ -48,10 +48,7 @@
inherit self inputs;
supportedSystems = [ "x86_64-linux" ];
hosts = {
nil.modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen2
./hosts/nil
];
nil.modules = [ ./hosts/nil ];
};
channels.nixpkgs = {

View File

@ -25,7 +25,9 @@
# ├─rpool/root zfs
# ├─rpool/root/nixos zfs /
# └─rpool/home zfs /home
{ self, config, lib, pkgs, modulesPath, ... }: {
{ self, config, nixos-hardware, lib, pkgs, modulesPath, ... }: {
imports =
[ nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen2 ];
my.system = {
zfs.enable = true;
yubikey.enable = true;