trying stylix

This commit is contained in:
2026-03-17 08:34:54 +00:00
parent 924c28557f
commit 62cfe941bd
6 changed files with 66 additions and 81 deletions
@@ -0,0 +1,11 @@
{ config, pkgs, flakeRoot, ... }:
{
# Enable Stylix at system level
stylix.nixosModules.stylix;
# Minimal configuration
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
};
}
@@ -10,6 +10,10 @@
{
imports = [
./../../core/nix.nix
./../../core/stylix.nix
./../../core/gtk.nix
./../../core/terminal.nix
./boot.nix
./hardware-configuration.nix
./machine.nix
+4 -21
View File
@@ -1,23 +1,6 @@
{ pkgs, user, ... }:
{
home-manager.users.${user.username} = {
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Standard-Blue-Dark";
package = pkgs.magnetic-catppuccin-gtk;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
{ config, pkgs, ... }:
};
{
# Stylix GTK target
stylix.targets.gtk.enable = true;
}
@@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
# Example for terminal (NVF = Neovim/terminal flavor)
stylix.targets.nvf.enable = true;
# Optional: feh wallpaper integration
stylix.targets.feh.enable = true;
}