stylix update, a lot is styled now :D

This commit is contained in:
Charlie Root 2024-05-26 02:36:36 +02:00
commit facf9f5b4b
6 changed files with 74 additions and 105 deletions

View file

@ -66,6 +66,7 @@
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
waybar.url = "github:Alexays/Waybar"; waybar.url = "github:Alexays/Waybar";
fenix = { fenix = {
url = "github:nix-community/fenix"; url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -6,8 +6,7 @@
}: }:
with lib; let with lib; let
cfg = config.modules.editors.kakoune; cfg = config.modules.editors.kakoune;
username = config.modules.other.system.username; inherit (config.modules.other.system) username;
# inherit (inputs.kakoune.packages.${pkgs.system}) kakoun;
in { in {
options.modules.editors.kakoune.enable = mkEnableOption "kakoune"; options.modules.editors.kakoune.enable = mkEnableOption "kakoune";
@ -15,15 +14,12 @@ in {
home-manager.users.${username} = { home-manager.users.${username} = {
programs.kakoune = { programs.kakoune = {
enable = true; enable = true;
# extraConfig = builtins.readFile
# package = kakoun;
plugins = with pkgs.kakounePlugins; [ plugins = with pkgs.kakounePlugins; [
auto-pairs-kak auto-pairs-kak
fzf-kak fzf-kak
powerline-kak powerline-kak
byline-kak byline-kak
kakoune-lsp kakoune-lsp
# luar-kak
]; ];
config = { config = {
ui = { ui = {
@ -31,13 +27,6 @@ in {
enableMouse = true; enableMouse = true;
assistant = "none"; assistant = "none";
}; };
# numberLines.enable = true;
# numberLines.relative = true;
# numberLines.highlightCursor = true;
# numberLines.separator = " ";
# showMatching = true;
# indentWidth = 2;
# tabStop = 2;
scrollOff.lines = 1; scrollOff.lines = 1;
scrollOff.columns = 3; scrollOff.columns = 3;
keyMappings = [ keyMappings = [

View file

@ -65,9 +65,9 @@ in {
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.nixvim.enable = true; programs.nixvim.enable = true;
theme = "gruvbox"; # theme = "gruvbox";
programs.nixvim.extraConfigLua = '' # programs.nixvim.extraConfigLua = ''
_G.theme = "${config.theme}" # _G.theme = "${config.theme}"
''; #'';
}; };
} }

View file

@ -3,82 +3,61 @@
pkgs, pkgs,
lib, lib,
... ...
}: }: let
with lib; let
cfg = config.modules.programs.stylix; cfg = config.modules.programs.stylix;
username = config.modules.other.system.username;
in { in {
options.modules.programs.stylix.enable = mkEnableOption "stylix"; options.modules.programs.stylix.enable = lib.mkEnableOption "stylix";
config = lib.mkIf cfg.enable {
config = mkIf cfg.enable { stylix = {
home-manager.users.${username} = { base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
stylix = { image = ../../assets/wallpapers/tiredgod.png;
polarity = "dark"; polarity = "dark";
image = ../../assets/wallpapers/mafu_trad_wall.png; autoEnable = true;
base16Scheme = cursor = {
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; package = pkgs.bibata-cursors;
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml"; name = "Bibata-Modern-Classic";
autoEnable = true; size = 24;
targets = { };
btop.enable = true; fonts = {
fish.enable = true; sizes = {
dunst.enable = false; terminal = 14;
emacs.enable = true; popups = 14;
firefox.enable = false;
kitty.enable = true;
lazygit.enable = true;
rofi.enable = true;
foot.enable = true;
tmux.enable = true;
waybar.enable = true;
vim.enable = true;
zathura.enable = true;
gtk.enable = true;
hyprland.enable = true;
}; };
opacity = { monospace = {
applications = 0.9; package =
popups = 0.9; pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
desktop = 0.9; name = "JetBrainsMono";
terminal = 0.85;
}; };
cursor = { serif = {
package = pkgs.bibata-cursors; package = pkgs.noto-fonts;
name = "Bibata-Modern-Classic"; name = "Noto Serif";
size = 24;
}; };
fonts = { sansSerif = {
sizes = { package = pkgs.lexend;
terminal = 14; name = "Lexend";
popups = 14; };
}; emoji = {
monospace = { package = pkgs.noto-fonts-emoji;
package = name = "Noto Color Emoji";
pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
name = "JetBrainsMono";
};
serif = {
package = pkgs.noto-fonts;
name = "Noto Serif";
};
sansSerif = {
package = pkgs.lexend;
name = "Lexend";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
}; };
}; };
}; opacity = {
stylix = { applications = 0.9;
image = ../../assets/wallpapers/FreeBSD.png; popups = 0.9;
polarity = "dark"; desktop = 0.9;
targets.plymouth.enable = false; terminal = 0.85;
base16Scheme = };
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; targets = {
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml"; console.enable = true;
fish.enable = true;
grub.enable = true;
grub.useImage = true;
gtk.enable = true;
lightdm.enable = true;
nixos-icons.enable = true;
nixvim.enable = true;
plymouth.logoAnimated = true;
};
}; };
}; };
} }

View file

@ -38,11 +38,11 @@ in {
separator_height = 2; separator_height = 2;
padding = 10; padding = 10;
frame_width = 3; frame_width = 3;
frame_color = "#89B4FA"; # frame_color = "#89B4FA";
separator_color = "frame"; # separator_color = "frame";
highlight = "#89DCEB"; highlight = "#89DCEB";
sort = "yes"; sort = "yes";
font = "JetBrains Mono 12"; # font = "JetBrains Mono 12";
line_height = 0; line_height = 0;
markup = "full"; markup = "full";
format = "<b>%s</b>%b"; format = "<b>%s</b>%b";
@ -73,22 +73,22 @@ in {
mouse_right_click = "close_all"; mouse_right_click = "close_all";
}; };
experimental = {per_monitor_dpi = false;}; experimental = {per_monitor_dpi = false;};
urgency_low = { # urgency_low = {
background = "#1E1E2E"; # background = "#1E1E2E";
foreground = "#CDD6F4"; # foreground = "#CDD6F4";
timeout = 5; # timeout = 5;
}; # };
urgency_normal = { # urgency_normal = {
background = "#1E1E2E"; # background = "#1E1E2E";
foreground = "#CDD6F4"; # foreground = "#CDD6F4";
timeout = 6; # timeout = 6;
}; # };
urgency_critical = { # urgency_critical = {
background = "#1E1E2E"; # background = "#1E1E2E";
foreground = "#CDD6F4"; # foreground = "#CDD6F4";
frame_color = "#FAB387"; # frame_color = "#FAB387";
timeout = 0; # timeout = 0;
}; # };
}; };
}; };
}; };

View file

@ -6,7 +6,7 @@
... ...
}: let }: let
cfg = config.modules.wms.wayland.hyprland; cfg = config.modules.wms.wayland.hyprland;
username = config.modules.other.system.username; inherit (config.modules.other.system) username;
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland; inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun; inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
inherit inherit