nixcfg/nixosModules/desktop/default.nix

59 lines
1 KiB
Nix
Raw Permalink 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 (
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; [
(nerdfonts.override {fonts = ["UbuntuSans"];})
2024-06-28 21:07:20 -04:00
liberation_ttf
vegur
2024-06-28 21:07:20 -04:00
];
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
}