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 = [
|
|
|
|
./greetd
|
2024-09-18 12:44:14 -04:00
|
|
|
./gnome
|
2024-04-22 23:14:28 -04:00
|
|
|
./hyprland
|
2024-10-25 15:05:48 -04:00
|
|
|
./kde
|
2024-04-22 23:14:28 -04:00
|
|
|
./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 (
|
2024-09-18 12:44:14 -04:00
|
|
|
config.ar.desktop.gnome.enable
|
|
|
|
|| config.ar.desktop.hyprland.enable
|
2024-10-25 15:05:48 -04:00
|
|
|
|| config.ar.desktop.kde.enable
|
2024-06-28 21:07:20 -04:00
|
|
|
|| config.ar.desktop.steam.enable
|
|
|
|
|| config.ar.desktop.sway.enable
|
|
|
|
) {
|
2024-08-22 07:46:19 -04:00
|
|
|
boot = {
|
|
|
|
consoleLogLevel = 0;
|
|
|
|
initrd.verbose = false;
|
|
|
|
plymouth.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-07-06 00:35:45 -04:00
|
|
|
environment = {
|
|
|
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
};
|
2024-05-12 22:00:09 -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
|
|
|
|
2024-08-17 17:01:10 -04:00
|
|
|
libinput.enable = true;
|
|
|
|
|
2024-07-06 17:53:41 -04:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-08-22 07:46:19 -04:00
|
|
|
printing.enable = true;
|
|
|
|
system-config-printer.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
|
|
|
}
|