name: { nixpkgs, inputs, home-manager, system, user, laptop ? false, work ? false, userName, ... }: nixpkgs.lib.nixosSystem rec { specialArgs = {inherit inputs;}; inherit system; modules = [ ({ inputs, pkgs, ... }: { programs.hyprland = { enable = true; package = inputs.hyprland.packages.${pkgs.system}.hyprland; }; }) { nix.settings = { substituters = ["https://hyprland.cachix.org"]; trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; } inputs.stylix.nixosModules.stylix ({pkgs, ...}: { stylix.image = ../images/demonslayer.png; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; }) home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; } (import ./home.nix {inherit inputs user userName name laptop work;}) ]; }