stylix: move to hyprland module
Some checks failed
Check flake / build-amd64-linux (push) Failing after 2m22s

This commit is contained in:
Jordan Holt 2025-04-18 16:42:27 +01:00
parent dc700042fd
commit 6ba082e672
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
4 changed files with 33 additions and 27 deletions

View File

@ -1,6 +1,5 @@
{ {
inputs, inputs,
config,
pkgs, pkgs,
... ...
}: }:
@ -53,28 +52,6 @@
systemd.services.NetworkManager-wait-online.enable = false; systemd.services.NetworkManager-wait-online.enable = false;
stylix = {
enable = true;
autoEnable = false;
image = config.lib.stylix.pixel "base00";
polarity = "dark";
# colors, dracula, eris, google-dark, framer, horizon-terminal-dark, humanoid-dark, isotope, onedark-dark, spacemacs, windows-nt
base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
cursor = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
};
fonts = {
sansSerif = {
name = "Segoe UI";
package = pkgs.segoe-ui-ttf;
};
};
};
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
noto-fonts noto-fonts
(nerdfonts.override { (nerdfonts.override {

View File

@ -1,4 +1,5 @@
{ {
pkgs,
config, config,
lib, lib,
... ...
@ -23,5 +24,33 @@ in
enable = true; enable = true;
# withUWSM = true; # withUWSM = true;
}; };
nixpkgs.config.allowUnfree = true;
stylix = {
enable = true;
autoEnable = false;
image = config.lib.stylix.pixel "base00";
polarity = "dark";
# colors, dracula, eris, google-dark, framer, horizon-terminal-dark, humanoid-dark, isotope, onedark-dark, spacemacs, windows-nt
base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
cursor = {
name = "macOS";
package = pkgs.apple-cursor;
};
fonts = {
sansSerif = {
name = "SF Pro Text";
package = pkgs.sf-pro;
};
emoji = {
name = "Apple Color Emoji";
package = pkgs.apple-color-emoji;
};
};
};
}; };
} }

View File

@ -18,10 +18,6 @@
./hyprland ./hyprland
]; ];
fonts.fontconfig.defaultFonts.sansSerif = [
"Segoe UI"
];
home.packages = with pkgs; [ home.packages = with pkgs; [
# ardour # ardour
# audacity # audacity

View File

@ -18,6 +18,10 @@ in
./waybar.nix ./waybar.nix
]; ];
fonts.fontconfig.defaultFonts.sansSerif = [
"SF Pro Text"
];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
# plugins = [ hypr-dynamic-cursors ]; # https://github.com/VirtCode/hypr-dynamic-cursors # plugins = [ hypr-dynamic-cursors ]; # https://github.com/VirtCode/hypr-dynamic-cursors