feat: enable stylix integration with home-manager

This commit is contained in:
Zhongheng Liu 2024-08-22 17:07:07 +08:00
commit bc64af1a17
No known key found for this signature in database
5 changed files with 5 additions and 17 deletions

View file

@ -33,7 +33,6 @@
specialArgs = {inherit inputs outputs;};
modules = [
./nixos/configuration.nix
inputs.stylix.nixosModules.stylix
];
};
};
@ -47,6 +46,7 @@
modules = [
./home-manager/${stevenUserName}/home.nix
inputs.nixvim.homeManagerModules.nixvim
inputs.stylix.homeManagerModules.stylix
];
};
};

View file

@ -5,19 +5,6 @@
}: {
gtk = {
enable = true;
cursorTheme = {
package = pkgs.vanilla-dmz;
name = "Vanilla-DMZ";
size = 24;
};
font = {
name = "Aileron";
size = 10;
};
theme = {
package = pkgs.gruvbox-gtk-theme;
name = "Gruvbox-Dark-BL";
};
iconTheme = {
package = pkgs.gruvbox-plus-icons;
name = "Gruvbox-Plus-Dark";

View file

@ -23,6 +23,7 @@
./gtk.nix
./ags
./xdg.nix
./stylix.nix
];
nixpkgs = {

View file

@ -1,6 +1,7 @@
{pkgs, ...}: {
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
stylix.image = ../home-manager/stvnliu/assets/gruvbox-wallpaper.png;
image = ./assets/gruvbox-wallpaper.png;
};
}

View file

@ -15,12 +15,11 @@
./fonts.nix
./services/laptop.preset.nix
./hardware-configuration.nix
#./ags.nix
./xdg.nix
];
environment.variables = {
GDK_SCALE = config.displayScale;
FLAKE = config.myConfigLocation;
GTK_IM_MODULE = lib.mkForce "";
};
security.pam.services.hyprlock = {};
i18n.inputMethod = {