This commit is contained in:
Bryan Ramos 2024-02-28 15:45:10 -05:00
parent 036db0b3b9
commit 203170a88f
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
66 changed files with 169 additions and 54 deletions

View file

@ -0,0 +1,59 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.sway;
in
{ options.modules.sway = { enable = mkEnableOption "sway"; };
imports = [ ../modules ];
config = mkIf cfg.enable {
wayland.windowManager.sway = import ./config/sway.nix { inherit pkgs config lib; };
programs.rofi = import ./config/rofi.nix { inherit pkgs config lib; };
programs.bash = {
profileExtra = import ./config/shellHook.nix;
shellAliases = {
open = "xdg-open";
};
};
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 = "gtk";
};
home.packages = with pkgs; [
xdg-utils
grim
slurp
wl-clipboard
autotiling
ranger
highlight
terminus-nerdfont
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
emote
];
programs = {
imv.enable = true;
};
fonts.fontconfig.enable = true;
};
}