commit 5e3b0d6d8615eea4a9aef09c8a3a3535a581ec98
parent f330ee2b4f1aca7ca5d498a5485403d02c89fb3c
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 22 Oct 2024 13:48:32 +0200
parent f330ee2b4f1aca7ca5d498a5485403d02c89fb3c
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 22 Oct 2024 13:48:32 +0200
configurations/linux: add `gnome`
2 files changed, 74 insertions(+), 3 deletions(-)
A
|
69
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/configurations/linux/gnome.nix b/configurations/linux/gnome.nix @@ -0,0 +1,69 @@ +{ config, lib, pkgs, home-manager, ... }: + +{ + + users.users.leah.extraGroups = [ "dialout" ]; + + nixpkgs.config.allowUnfree = true; + + hardware.opengl = { + enable = true; + driSupport = true; + extraPackages = with pkgs; [ + vaapiIntel + vaapiVdpau + libvdpau-va-gl + intel-media-driver + ]; + }; + + programs = { + dconf.enable = true; + }; + + services = { + nscd.enable = true; + }; + + home-manager.users.leah = { + manual.html.enable = true; + services.gnome-keyring.enable = true; + }; + + ctucxConfig = { + configure = { + mobileDevice = false; + fonts = true; + bluetooth = true; + }; + + wm.gnome.enable = true; + + services = { + pipewire.enable = true; + easyeffects.enable = true; + + syncthing.enable = true; + }; + + programs = { + ddcutil.enable = true; + alacritty.enable = true; + + firefox.enable = true; + thunderbird.enable = true; + fractal.enable = true; + tuba.enable = true; + + libreoffice.enable = true; + ausweisapp.enable = true; + + zathura.enable = true; + imv.enable = true; + mpv.enable = true; + + bitwarden-cli.enable = true; + }; + }; + +}
diff --git a/configurations/linux/programs/gnome.nix b/configurations/linux/programs/gnome.nix @@ -12,6 +12,8 @@ in { }; config = lib.mkIf cfg.enable { + hardware.pulseaudio.enable = lib.mkForce false; + services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; @@ -21,9 +23,9 @@ in { ]; services.gnome = { - tracker-miners.enable = false; - tracker.enable = false; - evolution-data-server.enable = lib.mkForce false; + tracker-miners.enable = lib.mkForce false; + tracker.enable = lib.mkForce false; + evolution-data-server.enable = lib.mkDefault false; }; environment.gnome.excludePackages = with pkgs.gnome; [