!qol(restructure): heavy restructure
This commit is contained in:
26
modules/stylix/home.nix
Normal file
26
modules/stylix/home.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.stylix;
|
||||
in
|
||||
{
|
||||
options.modules.stylix = {
|
||||
enable = lib.mkEnableOption "stylix configuration module";
|
||||
};
|
||||
imports = [
|
||||
./shared.nix
|
||||
inputs.stylix.homeModules.stylix
|
||||
];
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.enable = true;
|
||||
stylix.autoEnable = false; # honestly, fuck stylix;
|
||||
stylix.targets.gtk.enable = true;
|
||||
stylix.targets.qt.enable = true;
|
||||
stylix.targets.tmux.enable = false;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user