2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-07 23:54:00 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
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
|
|
|
|
./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
|
|
|
|
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.steam.enable
|
|
|
|
|| config.ar.desktop.sway.enable
|
|
|
|
) {
|
2024-07-06 00:35:45 -04:00
|
|
|
environment = {
|
|
|
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
};
|
2024-05-12 22:00:09 -04:00
|
|
|
|
2024-06-28 21:07:20 -04:00
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
liberation_ttf
|
|
|
|
];
|
2024-05-27 21:39:30 -04:00
|
|
|
|
2024-07-06 17:53:41 -04:00
|
|
|
hardware.logitech.wireless = {
|
|
|
|
enable = true;
|
|
|
|
enableGraphical = true;
|
|
|
|
};
|
|
|
|
|
2024-07-02 17:54:12 -04:00
|
|
|
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.
|
2024-07-06 17:53:41 -04:00
|
|
|
|
|
|
|
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-30 14:48:48 -04:00
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
2024-03-28 16:40:23 -04:00
|
|
|
}
|