2024-04-11 20:15:47 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2023-10-22 17:12:42 +02:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
desktopPackages = with pkgs; [
|
|
|
|
xwayland
|
|
|
|
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
|
2024-04-07 22:09:18 +02:00
|
|
|
gnome.adwaita-icon-theme
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|