mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Modularized GUI for potentially new environments in the future
This commit is contained in:
parent
d725ffdbfa
commit
46682b9b42
23 changed files with 77 additions and 39 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{ lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
|
@ -6,39 +6,10 @@ let
|
|||
|
||||
in
|
||||
{ options.modules.gui = { enable = mkEnableOption "gui"; };
|
||||
imports = [ ./modules ];
|
||||
imports = [ ./desktopEnvironments ];
|
||||
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;
|
||||
|
||||
modules = {
|
||||
alacritty.enable = true;
|
||||
browsers.enable = true;
|
||||
corn.enable = true;
|
||||
fun.enable = true;
|
||||
guiUtils.enable = true;
|
||||
neovim.enable = true;
|
||||
sway.enable = 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 = "gtk";
|
||||
};
|
||||
|
||||
programs = {
|
||||
imv.enable = true;
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue