trying stylix

This commit is contained in:
2026-03-17 08:17:15 +00:00
parent adf67439ff
commit cf8b93c984
4 changed files with 27 additions and 6 deletions
+11 -2
View File
@@ -205,7 +205,7 @@ outputs =
# Importing theme file # Importing theme file
./generated/out_of_tree/core/theme.nix ./generated/out_of_tree/core/theme.nix
# Import machine-specific configurations # Import machine-specific configurations
./generated/out_of_tree/machines/traveldroid/top.nix ./generated/out_of_tree/machines/${machine}/top.nix
# Catppuccin theme module # Catppuccin theme module
# catppuccin.nixosModules.catppuccin # catppuccin.nixosModules.catppuccin
# Anchoring all the other nixes # Anchoring all the other nixes
@@ -215,6 +215,9 @@ outputs =
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.sharedModules = [
stylix.homeManagerModules.stylix
];
home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; }; home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
} }
]; ];
@@ -599,10 +602,16 @@ You'll notice the color values in multiple places outside this as well.
#+BEGIN_SRC nix :tangle generated/out_of_tree/core/theme.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/out_of_tree/core/theme.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, flakeRoot, ... }: { pkgs, flakeRoot, ... }:
{ {
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml"; base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
gtk.enable = true;
kde.enable = false;
gnome.enable = false;
}; };
};
} }
#+END_SRC #+END_SRC
@@ -32,7 +32,7 @@ $rosewater = #f5e0dc
general { general {
gaps_in = 2 gaps_in = 2
gaps_out = 4 gaps_out = 4
border_size = 2 border_size = 4
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = $inactive col.inactive_border = $inactive
layout = scrolling layout = scrolling
@@ -41,7 +41,10 @@ general {
} }
decoration { decoration {
rounding = 6 rounding = 8
drop_shadow = true
shadow_range = 10
shadow_render_power = 3
} }
# Input fields (e.g., Hyprctl menus) # Input fields (e.g., Hyprctl menus)
+4 -1
View File
@@ -61,7 +61,7 @@ outputs =
# Importing theme file # Importing theme file
./generated/out_of_tree/core/theme.nix ./generated/out_of_tree/core/theme.nix
# Import machine-specific configurations # Import machine-specific configurations
./generated/out_of_tree/machines/traveldroid/top.nix ./generated/out_of_tree/machines/${machine}/top.nix
# Catppuccin theme module # Catppuccin theme module
# catppuccin.nixosModules.catppuccin # catppuccin.nixosModules.catppuccin
# Anchoring all the other nixes # Anchoring all the other nixes
@@ -71,6 +71,9 @@ outputs =
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.sharedModules = [
stylix.homeManagerModules.stylix
];
home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; }; home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
} }
]; ];
@@ -1,7 +1,13 @@
{ pkgs, flakeRoot, ... }: { pkgs, flakeRoot, ... }:
{ {
stylix = { stylix = {
enable = true; enable = true;
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml"; base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
gtk.enable = true;
kde.enable = false;
gnome.enable = false;
}; };
};
} }