diff --git a/flake.nix b/flake.nix index 75be6c8..83a6433 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/hosts/nil/hardware.nix b/hosts/nil/hardware.nix index 578a409..2052aad 100644 --- a/hosts/nil/hardware.nix +++ b/hosts/nil/hardware.nix @@ -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;