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