moved wm outside of the gui/modules

This commit is contained in:
Bryan Ramos 2024-06-14 10:36:43 -04:00
parent 5afee9cd3a
commit 181b4ce5b7
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
20 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,57 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.user.gui.wm.sway;
in
{ options.modules.user.gui.wm.sway = { enable = mkEnableOption "user.gui.wm.sway"; };
config = mkIf cfg.enable {
wayland.windowManager.sway = import ./config/sway.nix { inherit pkgs config lib; };
programs.rofi = import ./config/rofi { inherit pkgs config lib; };
home.file.".config/rofi" = {
source = ./config/rofi/config;
recursive = true;
};
#gtk = {
# enable = true;
# theme.package = pkgs.juno-theme;
# theme.name = "Juno-ocean";
# iconTheme.package = pkgs.qogir-icon-theme;
# iconTheme.name = "Qogir";
#};
qt = {
enable = true;
style.package = pkgs.juno-theme;
platformTheme.name = "gtk";
};
home.packages = with pkgs; [
pavucontrol
xdg-utils
wl-clipboard
autotiling
grim
jq
slurp
ranger
highlight
terminus-nerdfont
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
];
programs = {
imv.enable = true;
};
fonts.fontconfig.enable = true;
};
}