Personal-use NixOS configuration

Run formatter

+11 -4
+5 -1
lib/default.nix
··· 1 - { nix-jetbrains-plugins, pkgs, lib }: 1 + { 2 + nix-jetbrains-plugins, 3 + pkgs, 4 + lib, 5 + }: 2 6 3 7 { 4 8 customJetbrainsPackage = import ./customJetbrainsPackage.nix {
+6 -3
lib/mkProxies.nix
··· 8 8 compressionModules = import (caddyModulesPath + /compression.nix); 9 9 sslModules = import (caddyModulesPath + /ssl.nix); 10 10 11 - insertLocalSubdomain = host: 11 + insertLocalSubdomain = 12 + host: 12 13 let 13 14 domainLevels = lib.splitString "." host; 14 15 totalLevels = (lib.length domainLevels - 2); 15 16 in 16 - lib.concatStringsSep "." (lib.take totalLevels domainLevels ++ [ "local" ] ++ lib.drop totalLevels domainLevels); 17 + lib.concatStringsSep "." ( 18 + lib.take totalLevels domainLevels ++ [ "local" ] ++ lib.drop totalLevels domainLevels 19 + ); 17 20 in 18 21 builtins.listToAttrs ( 19 22 map (host: { ··· 30 33 ''; 31 34 }; 32 35 }) hosts 33 - ) 36 + )