font & stylix

This commit is contained in:
doloro
2025-09-23 10:35:48 +00:00
parent 37b92bb861
commit d95ea4ec27
12 changed files with 680 additions and 26 deletions

View File

@@ -7,7 +7,8 @@ in
enable = true;
extensions = [
{ id = "ghmbeldphafepmbegfdlkpapadhbakde"; } # ProtonPass
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # Ublock
#{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # Ublok
{ id = "ddkjiahejlhfcafbddmgiahcphecmpfh"; } # Ublock lite
{ id = "kpmjjdhbcfebfjgdnpjagcndoelnidfj"; } # Control panel for twitter
{ id = "aighbdamfnndbemigjcbkdklkegkgmpl"; } # Better twitter embeds
{ id = "enamippconapkdmgfgjchkhakpfinmaj"; } # DeArrow

View File

@@ -15,5 +15,19 @@ in
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
programs.foot.enable = true;
# todo, split this into its own module;
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
#font = "CaskaydiaCove Nerd Font Mono:size=11";
};
mouse = {
hide-when-typing = "yes";
};
};
};
}

View File

@@ -0,0 +1,8 @@
{ inputs, pkgs, ... }:
let
in {
home.packages = with pkgs; [
wofi
];
}

View File

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

View File

@@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
inputs,
...
}:
let
cfg = config.modules.stylix;
in
{
imports = [
./shared.nix
inputs.stylix.homeModules.stylix
];
config = {
stylix.enable = true;
stylix.targets.hyprland.enable = true;
};
}

View File

@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
inputs,
...
}:
let
cfg = config.modules.stylix;
in
{
imports = [
./shared.nix
inputs.stylix.nixosModules.stylix
];
options = {
modules.stylix.enable = lib.mkEnableOption "Steam configuration module";
};
config = lib.mkIf cfg.enable {
stylix.enable = true;
};
}

View File

@@ -0,0 +1,35 @@
{
pkgs,
lib,
...
}:
{
imports = [
./fonts.nix
];
stylix = {
enable = true;
# image = ./wp.jpg;
# image = lib.mkDefault ./wp.jpg;
polarity = "dark";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/ayu-mirage.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/horizon-dark.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/darkviolet.yaml";
# base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/bright.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/eris.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/framer.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/uwunicorn.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/tarot.yaml";
# base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/framer.yaml";
# base16Scheme = lib.mkDefault "${pkgs.base24-schemes}/share/themes/tokyodark-terminal.yaml";
# base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/tokyodark-terminal.yaml";
base16Scheme = ./theme.yml;
};
# stylix.override = {
# base00 = "000000"; # make background completely black
# };
}

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"