nixos-config/modules/workstation/home-manager/desktop/default.nix

53 lines
920 B
Nix

{ lib, config, pkgs, ... }:
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
];
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;
# Theming GTK
gtk = {
enable = true;
theme = {
name = "Nordic-darker";
package = pkgs.nordic;
};
cursorTheme = {
name = "Nordzy-cursors";
package = pkgs.nordzy-cursor-theme;
};
};
};
}