From fa245744735a659a11be5c6e9deb9cb3044b1fdb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 28 Jul 2024 13:57:20 -0400 Subject: [PATCH] nixos/gnome: remove module --- nixosModules/desktop/gnome/default.nix | 66 -------------------------- 1 file changed, 66 deletions(-) delete mode 100644 nixosModules/desktop/gnome/default.nix diff --git a/nixosModules/desktop/gnome/default.nix b/nixosModules/desktop/gnome/default.nix deleted file mode 100644 index 0c281c4a..00000000 --- a/nixosModules/desktop/gnome/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - config = lib.mkIf config.ar.desktop.gnome.enable { - nixpkgs.overlays = [ - # GNOME 46: triple-buffering-v4-46 - (final: prev: { - gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: { - mutter = gnomePrev.mutter.overrideAttrs (old: { - src = pkgs.fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "vanvugt"; - repo = "mutter"; - rev = "triple-buffering-v4-46"; - hash = "sha256-nz1Enw1NjxLEF3JUG0qknJgf4328W/VvdMjJmoOEMYs="; - }; - }); - }); - }) - ]; - - security.pam.services = { - login.fprintAuth = false; - - gdm = { - enableGnomeKeyring = true; - gnupg.enable = true; - kwallet.enable = true; - }; - - gdm-fingerprint = lib.mkIf (config.services.fprintd.enable) { - text = '' - auth required pam_shells.so - auth requisite pam_nologin.so - auth requisite pam_faillock.so preauth - auth required ${pkgs.fprintd}/lib/security/pam_fprintd.so - auth optional pam_permit.so - auth required pam_env.so - auth [success=ok default=1] ${pkgs.gnome.gdm}/lib/security/pam_gdm.so - auth optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so - - account include login - - password required pam_deny.so - - session include login - session optional ${pkgs.gnome.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start - ''; - }; - }; - - # Enable GNOME and GDM. - services = { - gnome.tracker-miners.enable = true; - udev.packages = with pkgs; [gnome.gnome-settings-daemon]; - - xserver = { - desktopManager.gnome.enable = true; - displayManager.gdm.enable = true; - }; - }; - }; -}