nixcfg/nixosModules/desktop/default.nix

66 lines
1.2 KiB
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
lib,
pkgs,
2024-04-07 22:16:33 -04:00
...
}: {
imports = [
./greetd
./gnome
./hyprland
./sway
./waylandComp.nix
];
2024-06-28 21:07:20 -04:00
config =
lib.mkIf (
config.ar.desktop.gnome.enable
|| config.ar.desktop.hyprland.enable
2024-06-28 21:07:20 -04:00
|| config.ar.desktop.steam.enable
|| config.ar.desktop.sway.enable
) {
boot = {
consoleLogLevel = 0;
initrd.verbose = false;
plymouth.enable = true;
};
environment = {
sessionVariables.NIXOS_OZONE_WL = "1";
};
hardware.logitech.wireless = {
enable = true;
enableGraphical = true;
};
programs.system-config-printer.enable = true;
2024-06-28 21:07:20 -04:00
services = {
gnome.gnome-keyring.enable = true;
gvfs.enable = true; # Mount, trash, etc.
libinput.enable = true;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
printing.enable = true;
system-config-printer.enable = true;
2024-06-28 21:07:20 -04:00
xserver = {
enable = true;
excludePackages = with pkgs; [xterm];
2024-05-27 21:39:30 -04:00
};
};
};
2024-03-28 16:40:23 -04:00
}