nixos/home/gnome/impl/nixos.nix

52 lines
1.4 KiB
Nix
Raw Normal View History

2024-01-28 16:51:53 +08:00
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.home.gnome;
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;
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
2024-08-15 20:50:14 +08:00
services.hardware.bolt.enable = true;
2024-07-29 15:40:59 +08:00
xdg.portal.configPackages = with pkgs; [ gnome.gnome-session ];
2024-07-29 14:19:20 +08:00
hardware.pulseaudio.enable = false;
2024-01-28 16:51:53 +08:00
2024-07-29 19:56:16 +08:00
environment.gnome.excludePackages = (with pkgs; [
snapshot
2024-07-29 19:56:16 +08:00
gnome-tour
] ++ optionals config.global.flatpak.enable [
baobab
simple-scan
evince
file-roller
geary
loupe
seahorse
totem
epiphany
2024-07-29 19:56:16 +08:00
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
2024-08-28 22:15:58 +08:00
]) ++ (with pkgs.gnome; [ ] ++ optionals config.global.flatpak.enable [
2024-07-29 19:56:16 +08:00
]);
users.home.persist.directories = [ ".config/dconf" ];
2024-09-02 22:14:26 +08:00
users.home.persist.files = [ ".config/monitors.xml" ];
2024-01-28 16:51:53 +08:00
environment.persistence."/nix/persist/fhs".directories = [ ];
}