{ self, nixpkgs, inputs, ... }: let system = "x86_64-linux"; # TODO: Fix this so it doesn't warn about wanting readOnlyPkgs pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; in nixpkgs.lib.nixosSystem { inherit system; modules = [ ./configuration.nix ./hardware-configuration.nix inputs.home-manager.nixosModules.home-manager { home-manager.users.drew = { pkgs, inputs, ... }: { imports = [ (self + "/home-manager/drew.nix") ]; }; home-manager.useGlobalPkgs = true; home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; }; } ]; specialArgs = { inherit inputs; inherit pkgs; }; }