feat: stylix?

This commit is contained in:
Kat Inskip 2025-07-26 17:06:28 -07:00
parent 2b1fd9b99e
commit d6d4d38dcc
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
33 changed files with 465 additions and 629 deletions

View file

@ -1,9 +0,0 @@
{config, ...}: {
base16 = {
inherit (config.home-manager.users.kat.base16) defaultSchemeName defaultScheme schemes;
console = {
enable = false;
getty.enable = false;
};
};
}

View file

@ -1,7 +0,0 @@
_: {
catppuccin = {
enable = true;
flavor = "frappe";
grub.enable = false;
};
}

33
nixos/common/stylix.nix Normal file
View file

@ -0,0 +1,33 @@
{ pkgs, ... }: {
stylix = {
enable = true;
targets = {
grub.useWallpaper = false;
};
homeManagerIntegration = {
followSystem = true;
autoImport = false;
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 32;
};
fonts = {
sansSerif = {
name = "Jost";
package = pkgs.jost;
};
serif = {
name = "Libre Baskerville";
package = pkgs.libre-baskerville;
};
monospace = {
name = "Monaspace Krypton";
package = pkgs.monaspace;
};
};
autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
};
}

View file

@ -1,11 +1,9 @@
{pkgs, ...}: {
programs.regreet = {
enable = true;
};
stylix.targets.regreet.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
user = "greeter";
};
};
};
}

View file

@ -9,7 +9,7 @@ in {
timeout = null;
grub = {
useOSProber = true;
splashImage = ./splash.jpg;
#splashImage = ./splash.jpg;
extraConfig = ''
set color_normal=black/black
set menu_color_normal=black/black

View file

@ -13,24 +13,24 @@
protonplus
(lutris.override {
extraPkgs = pkgs: [
pkgs.gamescope
pkgs.libnghttp2
pkgs.winetricks
pkgs.jansson
pkgs.samba
pkgs.gvfs
pkgs.mangohud
pkgs.vkbasalt
pkgs.umu-launcher
pkgs.xdg-desktop-portal
#pkgs.gamescope
#pkgs.libnghttp2
#pkgs.winetricks
#pkgs.jansson
#pkgs.samba
#pkgs.gvfs
#pkgs.mangohud
#pkgs.vkbasalt
#pkgs.umu-launcher
#pkgs.xdg-desktop-portal
];
extraLibraries = pkgs: [
pkgs.libunwind
pkgs.xdg-desktop-portal
pkgs.gvfs
pkgs.jansson
pkgs.samba
pkgs.xz
#pkgs.libunwind
#pkgs.xdg-desktop-portal
#pkgs.gvfs
#pkgs.jansson
#pkgs.samba
#pkgs.xz
];
})

View file

@ -9,6 +9,7 @@
vistafonts
open-dyslexic
ubuntu-sans
jost
];
enableDefaultPackages = true;
fontDir.enable = true;

View file

@ -10,5 +10,5 @@ _: {
systemd.enable = true;
};
};
catppuccin.plymouth.enable = true;
stylix.targets.plymouth.enable = true;
}

View file

@ -1,16 +1,16 @@
{config, ...}: {
home-manager.users.kat.programs.weechat.config.buflist = {
format = with config.base16.defaultScheme.map.ansiStr; {
format = {
indent = " "; # default " "
buffer_current = "\${color:,${base02}}\${format_buffer}";
hotlist = " \${color:${base0D}}(\${hotlist}\${color:${base0D}})";
hotlist_highlight = "\${color:${base0E}}";
hotlist_low = "\${color:${base03}}";
hotlist_message = "\${color:${base08}}";
hotlist_none = "\${color:${base05}}";
hotlist_private = "\${color:${base09}}";
hotlist_separator = "\${color:${base04}},";
number = "\${color:${base09}}\${number}\${if:\${number_displayed}?.: }";
#buffer_current = "\${color:,${base02}}\${format_buffer}";
#hotlist = " \${color:${base0D}}(\${hotlist}\${color:${base0D}})";
#hotlist_highlight = "\${color:${base0E}}";
#hotlist_low = "\${color:${base03}}";
#hotlist_message = "\${color:${base08}}";
#hotlist_none = "\${color:${base05}}";
#hotlist_private = "\${color:${base09}}";
#hotlist_separator = "\${color:${base04}},";
#number = "\${color:${base09}}\${number}\${if:\${number_displayed}?.: }";
};
look.use_items = 4;
};

View file

@ -26,7 +26,8 @@ in {
urlgrab
unread_buffer
];
config.plugins.var = with set.map (_: v: "colour${builtins.toString (list.unsafeHead v)}") inputs.base16.lib.base16.shell.mapping256; {
config.plugins.var = {
#config.plugins.var = with set.map (_: v: "colour${builtins.toString (list.unsafeHead v)}") inputs.base16.lib.base16.shell.mapping256; {
python = {
vimode = {
copy_clipboard_cmd = "wl-copy";
@ -51,16 +52,16 @@ in {
"/" = "i/";
};
user_search_mapping = "?";
mode_indicator_cmd_color_bg = base01;
mode_indicator_cmd_color = base04;
mode_indicator_insert_color_bg = base01;
mode_indicator_insert_color = base04;
mode_indicator_normal_color_bg = base01;
mode_indicator_normal_color = base04;
mode_indicator_replace_color_bg = base01;
mode_indicator_replace_color = base0E;
mode_indicator_search_color_bg = base0E;
mode_indicator_search_color = base04;
#mode_indicator_cmd_color_bg = base01;
#mode_indicator_cmd_color = base04;
#mode_indicator_insert_color_bg = base01;
#mode_indicator_insert_color = base04;
#mode_indicator_normal_color_bg = base01;
#mode_indicator_normal_color = base04;
#mode_indicator_replace_color_bg = base01;
#mode_indicator_replace_color = base0E;
#mode_indicator_search_color_bg = base0E;
#mode_indicator_search_color = base04;
no_warn = true;
};
title = {

View file

@ -3,7 +3,7 @@
services.weechat.enable = true;
programs.weechat = {
enable = true;
config.weechat = with config.base16.defaultScheme.map.ansiStr; {
config.weechat = { #with config.base16.defaultScheme.map.ansiStr; {
look = {
mouse = true;
separator_horizontal = "";
@ -14,37 +14,37 @@
};
# color overrides
color = {
chat_nick_self = base0E;
separator = base06;
chat_read_marker = base0B;
chat_read_marker_bg = base03;
#chat_nick_self = base0E;
#separator = base06;
#chat_read_marker = base0B;
#chat_read_marker_bg = base03;
};
# bars config
bar = {
buflist = {
size_max = 24;
color_delim = base0E;
#color_delim = base0E;
};
input = {
items = "[input_prompt]+(away),[input_search],[input_paste],input_text,[vi_buffer]";
color_delim = base0E;
#color_delim = base0E;
conditions = "\${window.buffer.full_name} != perl.highmon";
};
nicklist = {
size_max = 18;
color_delim = base0E;
#color_delim = base0E;
};
status = {
color_bg = base02;
color_fg = base06;
color_delim = base0E;
#color_bg = base02;
#color_fg = base06;
#color_delim = base0E;
items = "[time],mode_indicator,[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+matrix_typing_notice+buffer_zoom+buffer_filter,scroll,[lag],[hotlist],completion,cmd_completion";
conditions = "\${window.buffer.full_name} != perl.highmon";
};
title = {
color_bg = base02;
color_fg = base06;
color_delim = base0E;
#color_bg = base02;
#color_fg = base06;
#color_delim = base0E;
conditions = "\${window.buffer.full_name} != perl.highmon";
};
};