2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-04-22 23:14:28 -04:00
|
|
|
imports = [
|
2024-05-11 21:36:27 -04:00
|
|
|
./cinnamon
|
2024-04-22 23:14:28 -04:00
|
|
|
./gnome
|
|
|
|
./greetd
|
|
|
|
./hyprland
|
2024-05-10 19:23:21 -04:00
|
|
|
./lightdm
|
2024-04-22 23:14:28 -04:00
|
|
|
./plasma
|
|
|
|
./sway
|
2024-05-26 00:36:48 -04:00
|
|
|
./waylandComp.nix
|
2024-04-22 23:14:28 -04:00
|
|
|
];
|
2024-03-28 16:13:46 -04:00
|
|
|
|
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.desktop.enable =
|
2024-04-17 21:22:22 -04:00
|
|
|
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.desktop.enable {
|
2024-05-12 22:00:09 -04:00
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
|
2024-05-27 21:39:30 -04:00
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
liberation_ttf
|
2024-06-21 17:28:48 -04:00
|
|
|
nerdfonts
|
2024-05-27 21:39:30 -04:00
|
|
|
];
|
|
|
|
|
2024-03-30 14:48:48 -04:00
|
|
|
services = {
|
|
|
|
gnome.gnome-keyring.enable = true;
|
|
|
|
gvfs.enable = true; # Mount, trash, etc.
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
2024-05-27 21:39:30 -04:00
|
|
|
xkb = {
|
|
|
|
layout = "us";
|
|
|
|
variant = "altgr-intl";
|
|
|
|
};
|
2024-04-07 22:16:33 -04:00
|
|
|
excludePackages = with pkgs; [xterm];
|
2024-03-30 14:48:48 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
|
|
|
};
|
2024-03-28 16:40:23 -04:00
|
|
|
}
|