diff --git a/system/hosts/drew-desktop/configuration.nix b/system/hosts/drew-desktop/configuration.nix index e473a15..068fdfa 100644 --- a/system/hosts/drew-desktop/configuration.nix +++ b/system/hosts/drew-desktop/configuration.nix @@ -2,7 +2,11 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, inputs, ... }: +{ + pkgs, + inputs, + ... +}: { # Bootloader. @@ -44,19 +48,28 @@ services.displayManager.sddm = { enable = true; - + theme = "sddm-astronaut-theme"; }; # Unlock the default keyring on login to hyprland security.pam.services.hyprland.enableGnomeKeyring = true; + security.sudo = { + enable = true; + + extraConfig = '' + Defaults:root,%wheel timestamp_timeout=30 + ''; + }; + # Enable Hyprland so it shows up in the menu programs.hyprland = { enable = true; withUWSM = true; package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + portalPackage = + inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; # Configure keymap in X11 @@ -146,12 +159,18 @@ users.users.drew = { isNormalUser = true; description = "Drew Haven"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ + "networkmanager" + "wheel" + ]; shell = pkgs.zsh; }; # Enable flakes - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; programs.steam = { enable = true; @@ -168,4 +187,5 @@ # Enable the font directory for managing fonts # This doesn't seem to be needed though. # fonts.fontDir.enable = true; + }