{ config, pkgs, lib, inputs, username, stylix, ghostty, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../modules/common.nix ../../modules/gnome.nix inputs.sops-nix.nixosModules.sops ../../modules/protonvpn.nix ]; sops.defaultSopsFile = ../../secrets/secrets.yaml; sops.defaultSopsFormat = "yaml"; sops.age.keyFile = "/home/${username}/.config/sops/age/keys.txt"; networking = { hostName = "xps"; networkmanager.enable = true; }; virtualisation.docker.enable = true; users.users.${username} = { isNormalUser = true; extraGroups = [ "networkmanager" "wheel" "audio" "video" "input" "docker" ]; }; # Enable automatic login for the user. services.displayManager.autoLogin.enable = true; services.displayManager.autoLogin.user = "${username}"; stylix.enable = true; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/solarflare.yaml"; stylix.image = ../../backgrounds/SupermassiveBinaryBlackHoles.png; stylix.cursor.package = pkgs.vimix-cursor-theme; stylix.cursor.name = "Vimix-Cursors"; stylix.targets.gnome.enable = true; system.stateVersion = "23.11"; # Did you read the comment? }