nixcfg/nixosModules/desktop/default.nix

48 lines
922 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
imports = [
2024-05-11 21:36:27 -04:00
./cinnamon
./gnome
./greetd
./hyprland
2024-05-10 19:23:21 -04:00
./lightdm
./plasma
./sway
./waylandComp.nix
];
2024-06-28 21:07:20 -04:00
config =
lib.mkIf (
config.ar.desktop.cinnamon.enable
|| config.ar.desktop.gnome.enable
|| config.ar.desktop.hyprland.enable
|| config.ar.desktop.plasma.enable
|| 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
nerdfonts
];
2024-05-27 21:39:30 -04:00
2024-06-28 21:07:20 -04:00
services = {
gnome.gnome-keyring.enable = true;
gvfs.enable = true; # Mount, trash, etc.
xserver = {
enable = true;
xkb = {
layout = "us";
variant = "altgr-intl";
};
excludePackages = with pkgs; [xterm];
2024-05-27 21:39:30 -04:00
};
};
};
2024-03-28 16:40:23 -04:00
}