2024-04-11 20:15:47 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
2024-04-23 12:49:11 +02:00
|
|
|
nvidiaGPU,
|
2024-04-11 20:15:47 +02:00
|
|
|
...
|
|
|
|
}:
|
2023-10-22 17:12:42 +02:00
|
|
|
with lib;
|
|
|
|
let
|
2024-04-23 12:49:11 +02:00
|
|
|
desktopPackages =
|
|
|
|
with pkgs;
|
|
|
|
[
|
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
wl-clipboard
|
|
|
|
clipman
|
|
|
|
wf-recorder
|
|
|
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
|
|
|
qt5ct
|
|
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
|
|
font-awesome
|
|
|
|
nordzy-cursor-theme
|
|
|
|
jetbrains-mono
|
|
|
|
xdg-utils
|
|
|
|
libnotify
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
]
|
|
|
|
++ (
|
|
|
|
if nvidiaGPU then
|
|
|
|
[
|
|
|
|
vulkan-validation-layers
|
|
|
|
vulkan-headers
|
|
|
|
vulkan-caps-viewer
|
|
|
|
vulkan-extension-layer
|
|
|
|
vulkan-tools
|
|
|
|
]
|
|
|
|
else
|
|
|
|
[ ]
|
|
|
|
);
|
2023-10-22 17:12:42 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./sway.nix
|
|
|
|
./alacritty.nix
|
|
|
|
./swaylock.nix
|
|
|
|
./waybar.nix
|
|
|
|
./wofi.nix
|
|
|
|
./mako.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
options.desktop.enableSwayStack = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.desktop.enableSwayStack {
|
|
|
|
home.packages = desktopPackages;
|
2024-04-11 20:15:47 +02:00
|
|
|
|
2024-04-07 22:09:18 +02:00
|
|
|
dconf = {
|
|
|
|
enable = true;
|
|
|
|
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
|
|
|
};
|
2023-10-22 17:12:42 +02:00
|
|
|
|
|
|
|
# Theming GTK
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "Nordic-darker";
|
|
|
|
package = pkgs.nordic;
|
|
|
|
};
|
|
|
|
cursorTheme = {
|
|
|
|
name = "Nordzy-cursors";
|
|
|
|
package = pkgs.nordzy-cursor-theme;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|