WSL + more modularity

This commit is contained in:
System administrator 2024-01-30 04:25:25 +00:00 committed by Bryan Ramos
parent 7b63b3b04f
commit e513913099
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
57 changed files with 356 additions and 92 deletions

View file

@ -1,68 +0,0 @@
{ 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;
modules = {
alacritty.enable = true;
browsers.enable = true;
corn.enable = true;
fun.enable = true;
guiUtils.enable = true;
neovim.enable = true;
};
};
}