trying stylix
This commit is contained in:
+11
-2
@@ -205,7 +205,7 @@ outputs =
|
||||
# Importing theme file
|
||||
./generated/out_of_tree/core/theme.nix
|
||||
# Import machine-specific configurations
|
||||
./generated/out_of_tree/machines/traveldroid/top.nix
|
||||
./generated/out_of_tree/machines/${machine}/top.nix
|
||||
# Catppuccin theme module
|
||||
# catppuccin.nixosModules.catppuccin
|
||||
# Anchoring all the other nixes
|
||||
@@ -215,6 +215,9 @@ outputs =
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.sharedModules = [
|
||||
stylix.homeManagerModules.stylix
|
||||
];
|
||||
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
|
||||
{ pkgs, flakeRoot, ... }:
|
||||
{
|
||||
stylix = {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
polarity = "dark";
|
||||
targets = {
|
||||
gtk.enable = true;
|
||||
kde.enable = false;
|
||||
gnome.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user