nixos/home/gnome/impl/nixos.nix

65 lines
1.4 KiB
Nix
Raw Normal View History

2025-01-13 11:52:09 +08:00
{
pkgs,
lib,
config,
...
}:
with lib;
let
2024-01-28 16:51:53 +08:00
cfg = config.home.gnome;
2025-01-13 11:52:09 +08:00
in
mkIf cfg.enable {
2024-07-29 15:40:59 +08:00
global.flatpak.enable = mkDefault true;
2024-07-29 19:56:16 +08:00
home.catppuccin.enable = mkDefault false;
catppuccin.enable = false;
2024-01-28 16:51:53 +08:00
programs.regreet.enable = false;
services.xserver.enable = true;
services.xserver.displayManager.startx.enable = false;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
2024-09-13 12:14:49 +08:00
services.udev.packages = with pkgs; [ gnome-settings-daemon ];
2024-08-15 20:50:14 +08:00
services.hardware.bolt.enable = true;
2024-09-13 12:14:49 +08:00
xdg.portal.configPackages = with pkgs; [ gnome-session ];
2025-01-12 14:16:22 +08:00
services.pulseaudio.enable = false;
2024-01-28 16:51:53 +08:00
2025-01-13 11:52:09 +08:00
environment.gnome.excludePackages =
(
with pkgs;
[
snapshot
gnome-tour
]
++ optionals config.global.flatpak.enable [
baobab
simple-scan
evince
file-roller
geary
loupe
seahorse
totem
epiphany
gnome-calculator
gnome-calendar
gnome-connections
gnome-font-viewer
gnome-text-editor
gnome-characters
gnome-clocks
gnome-contacts
gnome-logs
gnome-maps
gnome-music
gnome-weather
]
)
++ (
with pkgs.gnome;
[ ]
++ optionals config.global.flatpak.enable [
]
);
2024-07-29 19:56:16 +08:00
users.home.persist.directories = [ ".config/dconf" ];
2024-01-28 16:51:53 +08:00
}