!qol(restructure): heavy restructure
This commit is contained in:
4
modules/stylix/default.nix
Normal file
4
modules/stylix/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
nixos = ./nixos.nix;
|
||||
}
|
||||
13
modules/stylix/fonts.nix
Normal file
13
modules/stylix/fonts.nix
Normal 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
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;
|
||||
};
|
||||
}
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
||||
18
modules/stylix/shared.nix
Normal file
18
modules/stylix/shared.nix
Normal 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
35
modules/stylix/theme.yml
Normal 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"
|
||||
Reference in New Issue
Block a user