!qol(restructure): heavy restructure

This commit is contained in:
2025-12-10 21:37:23 +00:00
parent b5c2089694
commit f1337d3edd
114 changed files with 2 additions and 360 deletions

View File

@@ -0,0 +1,4 @@
_: {
home = ./home.nix;
nixos = ./nixos.nix;
}

13
modules/stylix/fonts.nix Normal file
View File

@@ -0,0 +1,13 @@
{
pkgs,
config,
...
}:
{
stylix.fonts = {
monospace = {
name = "CaskaydiaCove Nerd Font Mono";
package = pkgs.nerd-fonts.caskaydia-cove;
};
};
}

26
modules/stylix/home.nix Normal file
View 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;
};
}

25
modules/stylix/nixos.nix Normal file
View 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;
};
}

18
modules/stylix/shared.nix Normal file
View File

@@ -0,0 +1,18 @@
{
pkgs,
lib,
...
}:
{
imports = [
./fonts.nix
];
stylix = {
enable = true;
polarity = "dark";
base16Scheme = ./theme.yml;
};
# stylix.override = {
# base00 = "000000"; # make background completely black
# };
}

35
modules/stylix/theme.yml Normal file
View File

@@ -0,0 +1,35 @@
scheme: "Generated Scheme"
author: "The Robots"
base00: "#000000"
base01: "#000000"
# base01: "#202020"
base02: "#303030"
base03: "#505050"
base04: "#b0b0b0"
base05: "#d0d0d0"
base06: "#e0e0e0"
base07: "#ffffff"
base08: "#f5708a"
base09: "#ee8122"
base0A: "#b8a300"
base0B: "#54bc5c"
base0C: "#00bab3"
base0D: "#00aff2"
base0E: "#9095ff"
base0F: "#d47ada"
# base01: "#000000"
# base02: "#2e0a45"
# base03: "#571880"
# base04: "#7c2bb1"
# base05: "#9d41d8"
# base06: "#b95cf5"
# base07: "#d17bff"
# base08: "#e49dff"
# base09: "#ffa190"
# base0A: "#dcc264"
# base0B: "#9be16e"
# base0C: "#6feda7"
# base0D: "#72deee"
# base0E: "#a2bdff"
# base0F: "#e49dff"