From 52b6224302bef3c71df5fc0333aec599d1ec4321 Mon Sep 17 00:00:00 2001 From: Veneficium <85629831+veneficium42@users.noreply.github.com> Date: Thu, 10 Oct 2024 22:30:38 +0200 Subject: [PATCH] stylix: move options from hm into nixos and change theme --- hosts/main-laptop/configuration.nix | 27 ++++++++++++++++++--------- hosts/main-laptop/home.nix | 12 +++--------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/hosts/main-laptop/configuration.nix b/hosts/main-laptop/configuration.nix index 421beeb..ff2330c 100644 --- a/hosts/main-laptop/configuration.nix +++ b/hosts/main-laptop/configuration.nix @@ -7,7 +7,6 @@ virtualisation.libvirtd.enable = true; programs.virt-manager.enable = true; - #required by virt-manager programs.dconf.enable = true; systemd.services.NetworkManager-wait-online.enable = false; @@ -23,20 +22,30 @@ package = pkgs.catppuccin-cursors.macchiatoMauve; name = "catppuccin-macchiato-mauve-cursors"; }; - base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml"; fonts = { - monospace = { - name = "FiraCode Nerd Font Mono"; - package = pkgs.nerdfonts; + serif = { + package = pkgs.cantarell-fonts; + name = "Cantarell"; }; sansSerif = { - name = "Cantarell"; package = pkgs.cantarell-fonts; - }; - serif = { name = "Cantarell"; - package = pkgs.cantarell-fonts; }; + monospace = { + package = pkgs.fira-code-nerdfont; + name = "FiraCode Nerd Font Mono"; + }; + emoji = { + package = pkgs.noto-fonts-emoji; + name = "Noto Color Emoji"; + }; + }; + base16Scheme = "${pkgs.base16-schemes}/share/themes/eighties.yaml"; + targets = { + console.enable = true; + gnome.enable = true; + gtk.enable = true; + nixos-icons.enable = true; }; }; diff --git a/hosts/main-laptop/home.nix b/hosts/main-laptop/home.nix index 6f6f4f7..f0e7fca 100644 --- a/hosts/main-laptop/home.nix +++ b/hosts/main-laptop/home.nix @@ -31,22 +31,16 @@ ]; }; - stylix.enable = true; stylix = { - polarity = "dark"; - image = ../../res/wallpaper.png; - cursor = { - package = pkgs.catppuccin-cursors.macchiatoMauve; - name = "catppuccin-macchiato-mauve-cursors"; - }; - base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml"; - + enable = true; targets = { gnome.enable = true; gtk.enable = true; firefox.enable = true; vesktop.enable = true; wezterm.enable = true; + helix.enable = true; + vscode.enable = true; }; };