nixcfg/nixosModules/desktop/default.nix

57 lines
992 B
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
./hyprland
./sway
./waylandComp.nix
];
2024-06-28 21:07:20 -04:00
config =
lib.mkIf (
2024-07-28 14:00:45 -04:00
config.ar.desktop.hyprland.enable
2024-06-28 21:07:20 -04:00
|| config.ar.desktop.steam.enable
|| config.ar.desktop.sway.enable
) {
environment = {
sessionVariables.NIXOS_OZONE_WL = "1";
};
2024-06-28 21:07:20 -04:00
fonts.packages = with pkgs; [
liberation_ttf
];
2024-05-27 21:39:30 -04:00
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.
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.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
}