Relocated nixos-hardware import into host's hardware.nix
This commit is contained in:
parent
6b76516984
commit
470e1ca6b0
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in New Issue
Block a user