From 3cd724436b68a91397b67a7712cff12097450b9e Mon Sep 17 00:00:00 2001 From: k Date: Mon, 24 Nov 2025 09:18:43 -0500 Subject: [PATCH] useing gnome --- hosts/laptop/configuration.nix | 25 +++++++++++++------------ hosts/laptop/home.nix | 2 ++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index a878c21..9eb460a 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -4,7 +4,7 @@ inputs, ... }: { - imports = [./hardware-configuration.nix]; + imports = [./hardware-configuration.nix ]; nixpkgs.config.allowUnfree = true; system.autoUpgrade.enable = true; @@ -27,8 +27,8 @@ gc.automatic = false; settings = { experimental-features = ["nix-command" "flakes"]; - substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"]; - trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="]; + #substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"]; + #trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="]; }; }; @@ -54,12 +54,13 @@ }; services = { - hardware.bolt = {enable = false;}; - displayManager.sddm = { - enable = true; - wayland.enable = true; + hardware.bolt = {enable = true;}; + xserver = { + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; }; - desktopManager.plasma6.enable = true; + gnome.core-apps.enable = false; + pipewire = { enable = true; alsa.enable = true; @@ -85,13 +86,13 @@ lidSwitchExternalPower = "suspend"; }; avahi = { - enable = true; + enable = false; nssmdns4 = true; - openFirewall = true; # If you have a firewall enabled + openFirewall = true; }; blueman.enable = true; - fwupd.enable = false; + fwupd.enable = true; printing.enable = true; fprintd.enable = true; thermald.enable = true; @@ -166,7 +167,7 @@ }; systemd.sleep.extraConfig = '' - HibernateDelaySec=30m + HibernateDelaySec=20m SuspendState=mem ''; diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index b1fb75f..b3d4bfb 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -6,6 +6,7 @@ }: { imports = [ ../home/home_common.nix + ../home/gnome.nix ]; nixpkgs.config.allowUnfree = true; @@ -19,6 +20,7 @@ blender vesktop spotify + alacritty btop zip