From 5199d55c299b3cb5543be3737d039197e5c3f4d3 Mon Sep 17 00:00:00 2001 From: k Date: Fri, 23 May 2025 15:33:01 -0400 Subject: [PATCH] move to gnome --- hosts/desktop/configuration.nix | 21 ++++++++++++++++----- hosts/desktop/home.nix | 2 +- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 692bec7..fb0fda0 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -13,6 +13,17 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + boot.kernelPatches = [ + { + name = "amdgpu-ignore-ctx-privileges"; + patch = pkgs.fetchpatch { + name = "cap_sys_nice_begone.patch"; + url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch"; + hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo="; + }; + } + ]; + networking = { hostName = "desktop"; @@ -24,8 +35,6 @@ gc.automatic = true; settings = { experimental-features = ["nix-command" "flakes"]; - substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"]; - trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="]; }; }; @@ -42,9 +51,11 @@ defaultRuntime = true; autoStart = true; }; - xserver.enable = true; - displayManager.sddm.enable = true; - desktopManager.plasma6.enable = true; + xserver = { + enable = true; + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; + } }; stylix = { diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 17626dc..dd59911 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -4,7 +4,7 @@ inputs, ... }: { - imports = [../home/home_common.nix]; + imports = [../home/home_common.nix ../home/gnone.nix]; nixpkgs.config.allowUnfree = true; home = { packages = with pkgs; [