diff --git a/home/fonts.nix b/home/fonts.nix index d17834d..abe1922 100644 --- a/home/fonts.nix +++ b/home/fonts.nix @@ -25,6 +25,8 @@ nerd-fonts.noto nerd-fonts.hack + nerd-fonts.fira-code + zpix-pixel-font font-awesome_4 diff --git a/home/fuzzel.nix b/home/fuzzel.nix index 067bf01..8976665 100644 --- a/home/fuzzel.nix +++ b/home/fuzzel.nix @@ -28,7 +28,7 @@ in horizontal-pad = 50; # Horizontal padding vertical-pad = 15; # Vertical padding - font = "monospace:size=16"; + #font = "monospace:size=16"; anchor = "top"; y-margin = 240; @@ -36,19 +36,19 @@ in # match-mode = "fzf"; # image-size-ratio = 0.5; }; - colors = { - background = "${hex palette.base00}ff"; - text = "${hex palette.base03}ff"; - prompt = "${hex palette.base03}ff"; - placeholder = "${hex palette.base03}ff"; - input = "${hex palette.base05}ff"; - match = "${hex palette.base08}ff"; - selection = "${hex palette.base02}ff"; - "selection-text" = "${hex palette.base05}ff"; - "selection-match" = "${hex palette.base08}ff"; - counter = "${hex palette.base04}ff"; - border = "${hex palette.base03}ff"; - }; + #colors = { + # background = "${hex palette.base00}ff"; + # text = "${hex palette.base03}ff"; + # prompt = "${hex palette.base03}ff"; + # placeholder = "${hex palette.base03}ff"; + # input = "${hex palette.base05}ff"; + # match = "${hex palette.base08}ff"; + # selection = "${hex palette.base02}ff"; + # "selection-text" = "${hex palette.base05}ff"; + # "selection-match" = "${hex palette.base08}ff"; + # counter = "${hex palette.base04}ff"; + # border = "${hex palette.base03}ff"; + #}; border = { radius = 20; width = 3; diff --git a/home/stylix.nix b/home/stylix.nix index 6c03d68..2f8bd42 100644 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -12,7 +12,7 @@ targets.mako.enable = false; #targets.foot.enable = false; targets.swaylock.enable = false; - targets.fuzzel.enable = false; + #targets.fuzzel.enable = false; targets.zed.enable = false; base16Scheme = { @@ -46,14 +46,8 @@ terminal = 24; desktop = 12; }; - serif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Serif"; - }; - sansSerif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans"; - }; + serif = config.stylix.fonts.monospace; + sansSerif = config.stylix.fonts.monospace; monospace = { package = pkgs.notonoto-35; #name = "NOTONOTO-35-Bold"; diff --git a/hosts/elros/configuration.nix b/hosts/elros/configuration.nix index 03f366d..752fb9b 100644 --- a/hosts/elros/configuration.nix +++ b/hosts/elros/configuration.nix @@ -29,6 +29,9 @@ ]; + + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; #support rpi building + # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/hosts/elros/routes.nix b/hosts/elros/routes.nix new file mode 100644 index 0000000..42bb819 --- /dev/null +++ b/hosts/elros/routes.nix @@ -0,0 +1,83 @@ +{ config, pkgs, lib, ... }: +{ + services.caddy. virtualHosts = { + "managment.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.104.182.48 + basicauth { + import ${config.sops.secrets."nginx/defaultpass".path} + } + ''; + }; + + "funn-nas.lauterer.it" = { + extraConfig = '' + reverse_proxy https://100.104.182.48:30044 { + transport http { + tls_insecure_skip_verify + } + } + basicauth { + import ${config.sops.secrets."nginx/defaultpass".path} + } + ''; + }; + + "film.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.104.182.48:8096 + ''; + }; + + "home.lauterer.it" = { + extraConfig = '' + reverse_proxy http://10.0.0.32:8123 + ''; + }; + + "jellyfin.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:8096 + ''; + }; + + "podgrab.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:4242 + basicauth { + import ${config.sops.secrets."nginx/defaultpass".path} + } + ''; + }; + + "jupyter.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:8771 + ''; + }; + + "rss.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:8089 + ''; + }; + + "ai.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:11111 + ''; + }; + + "chat.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:11111 + ''; + }; + + "archive.lauterer.it" = { + extraConfig = '' + reverse_proxy http://100.84.215.84:8082 + ''; + }; + }; +}