nixcfg/nixosModules/desktop/default.nix

48 lines
912 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
imports = [
2024-05-09 23:23:56 -04:00
./budgie
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
];
options = {
alyraffauf.desktop.enable =
2024-04-17 21:22:22 -04:00
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
};
config = lib.mkIf config.alyraffauf.desktop.enable {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services = {
gnome.gnome-keyring.enable = true;
gvfs.enable = true; # Mount, trash, etc.
# Enable the X11 windowing system.
xserver = {
enable = true;
xkb.layout = "us";
2024-05-26 15:52:40 -04:00
xkb.variant = "altgr-intl";
2024-04-07 22:16:33 -04:00
excludePackages = with pkgs; [xterm];
};
};
2024-03-28 16:40:23 -04:00
# Install pretty fonts.
fonts.packages = with pkgs; [
liberation_ttf
(nerdfonts.override {
2024-05-08 21:50:20 -04:00
fonts = ["DroidSansMono" "Noto"];
})
];
};
2024-03-28 16:40:23 -04:00
}