{ config, inputs, lib, pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = ["nix-command" "flakes"]; # Use the systemd-boot EFI boot loader. boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; # Set your time zone. time.timeZone = "America/Chicago"; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; keyMap = "us"; }; networking = { hostName = "girlCore"; networkmanager.enable = true; firewall = { enable = true; allowedTCPPorts = []; allowedUDPPorts = []; }; }; users.users.ashley = { isNormalUser = true; extraGroups = ["wheel"]; # Enable ‘sudo’ for the user. packages = with pkgs; [ tree ]; }; services = { displayManager.sddm = { enable = true; wayland.enable = true; defaultSession = "hyprland"; }; xserver.videoDrivers = lib.mkDefault ["nvidia"]; # Enable touchpad support (enabled default in most desktopManager). libinput.enable = true; # Enable audio pipewire = { enable = true; pulse.enable = true; }; }; programs = { hyprland = { enable = true; package = inputs.hyprland-git.packages."x86_64-linux".hyprland; }; steam = { enable = true; remotePlay.openFirewall = true; # optional dedicatedServer.openFirewall = true; # optional localNetworkGameTransfers.openFirewall = true; # optional gamescopeSession.enable = true; # optional }; silentSDDM = { enable = true; theme = "rei"; settings = { "LoginScreen.LoginArea.Avatar" = { shape = "circle"; active-border-color = "#ffcfce"; }; "LoginScreen" = { background = "hana.jpg"; }; "LockScreen" = { background = "kokomi96024.png"; }; }; }; }; hardware = { graphics = { enable = true; enable32Bit = true; }; # nvidia drivers nvidia = rec { package = config.boot.kernelPackages.nvidiaPackages.stable; open = lib.mkOverride 990 (package ? open && package ? firmware); nvidiaSettings = true; modesetting.enable = true; # Nvidia power management. Experimental, and can cause sleep/suspend to fail. # Enable this if you have graphical corruption issues or application crashes after waking # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead # of just the bare essentials. powerManagement = { enable = false; finegrained = false; }; }; }; environment = { variables = { EDITOR = "nvim"; }; # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). systemPackages = with pkgs; [ git neovim wget ]; }; # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions. # # Most users should NEVER change this value after the initial install, for any reason, # even if you've upgraded your system to a new NixOS release. # # This value does NOT affect the Nixpkgs version your packages and OS are pulled from, # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how # to actually do that. # # This value being lower than the current NixOS release does NOT mean your system is # out of date, out of support, or vulnerable. # # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # and migrated your data accordingly. # # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "25.11"; # Did you read the comment? }