all repos — nixfiles @ e528188604164e979b6eafa8bd2ea60fc48a4ea6

System and user configuration, managed by nix and home-manager

remove stylix

Alin
commit

e528188604164e979b6eafa8bd2ea60fc48a4ea6

parent

fe3a2a04127e51689b059929af318b9651dbb8ad

1 file changed, 0 insertions(+), 51 deletions(-)

changed files
M user/settings/theme.nix → user/settings/theme.nix
@@ -1,17 +1,9 @@
{ config, pkgs, - lib, ... }: let - inherit (pkgs.stdenv) isDarwin; - # (hard constants) - ppi = 72; - dpi = 96; - mustFloat = x: x * 1.0; - px-pt = px: (mustFloat px) * ppi / dpi; - emacs = { package = "modus-themes"; light-mode-theme = "modus-operandi";
@@ -20,49 +12,6 @@ minimal-user-emacs-directory = "${config.xdg.configHome}/emacs";
}; in { - # hard to find the right documentation page - # https://nix-community.github.io/stylix/options/platforms/home_manager.html - stylix = { - enable = true; - - # actually refers to tinted-themes (https://github.com/tinted-theming/schemes) - # but only in the base16 variants (TODO update nixpkgs) - base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-dune-light.yaml"; - - fonts = { - sansSerif = lib.mkIf isDarwin { - name = "SF Pro"; - }; - monospace = { - name = "Berkeley Mono"; - }; - - sizes = { - applications = px-pt 15; - # desktop - # popups - # terminal - }; - }; - - targets = { - gtk.enable = !isDarwin; - fish.enable = false; - fzf.colors.enable = false; - zed = { - inputs.enable = false; - fonts.override = { - sansSerif.name = ".ZedSans"; - }; - }; - nixvim.enable = false; - emacs = { - colors.enable = false; - fonts.override.sizes.terminal = 15; - }; - }; - }; - programs.nixvim.extraConfigVim = '' set notermguicolors '';