Reshuffling stuff

This commit is contained in:
2026-03-18 17:47:20 +00:00
parent 0d4ebaa71f
commit 194090cbde
4 changed files with 90 additions and 96 deletions
+42 -43
View File
@@ -1,58 +1,57 @@
{flakeRoot, ... }:
{ flakeRoot, config, lib, pkgs, ... }:
{
flake.nixosModules.stylix = { inputs, config, lib, pkgs, ... }:
let
cfg = config.mySystem.desktop.stylix;
in {
let
cfg = config.mySystem.desktop.stylix;
in {
environment.systemPackages = with pkgs; [
feh # wallpaper target
st # NVF / terminal target, or kitty
options.mySystem.desktop.stylix.enable =
lib.mkEnableOption "Stylix System Theming";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
feh
st
];
options.mySystem.desktop.stylix.enable = lib.mkEnableOption "Stylix System Theming";
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
config = lib.mkIf cfg.enable {
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
image = "${flakeRoot}/assets/hyprland/wallpaperstuff/pictures/wall1.jpg";
polarity = "dark";
image = "${flakeRoot}/assets/hyprland/wallpaperstuff/pictures/wall25.jpg";
polarity = "dark";
cursor = {
package = pkgs.phinger-cursors;
name = "phinger-cursors-light";
size = 24;
};
cursor = {
package = pkgs.phinger-cursors;
name = "phinger-cursors-light";
size = 24;
fonts = {
monospace = {
package = pkgs.nerd-fonts.fira-code;
name = "Fira Code Nerd Font";
};
fonts = {
monospace = {
package = pkgs.nerd-fonts.fira-code;
name = "Fira Code Nerd Font";
};
sansSerif = {
package = pkgs.lato;
name = "Lato";
};
};
icons = {
enable = true;
package = pkgs.papirus-icon-theme;
dark = "Papirus-Dark";
light = "Papirus-Light";
};
sansSerif = {
package = pkgs.lato;
name = "Lato";
};
};
home-manager.users.henrov.home.sessionVariables = {
XCURSOR_THEME = config.stylix.cursor.name;
XCURSOR_SIZE = toString config.stylix.cursor.size;
HYPRCURSOR_THEME = config.stylix.cursor.name;
HYPRCURSOR_SIZE = toString config.stylix.cursor.size;
icons = {
enable = true;
package = pkgs.papirus-icon-theme;
dark = "Papirus-Dark";
light = "Papirus-Light";
};
};
home-manager.users.henrov.home.sessionVariables = {
XCURSOR_THEME = config.stylix.cursor.name;
XCURSOR_SIZE = toString config.stylix.cursor.size;
HYPRCURSOR_THEME = config.stylix.cursor.name;
HYPRCURSOR_SIZE = toString config.stylix.cursor.size;
};
};
}