nixos/home/gnome/impl/nixos.nix

20 lines
565 B
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 {
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-07-29 14:19:20 +08:00
hardware.pulseaudio.enable = false;
2024-01-28 16:51:53 +08:00
2024-07-29 14:19:20 +08:00
users.home.persist.directories = [
".config/dconf"
];
2024-01-28 16:51:53 +08:00
environment.persistence."/nix/persist/fhs".directories = [ ];
}