diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/laptop/cfg.nix | 7 | ||||
-rw-r--r-- | hosts/vps/git.nix | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix index 2b4023a..5b30561 100644 --- a/hosts/laptop/cfg.nix +++ b/hosts/laptop/cfg.nix @@ -111,6 +111,13 @@ }; }; + programs.firejail.wrappedBinaries = { + mullvad-browser = { + executable = lib.getExe pkgs.mullvad-browser; + # profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; + }; + }; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; diff --git a/hosts/vps/git.nix b/hosts/vps/git.nix index 6882e69..d9c638d 100644 --- a/hosts/vps/git.nix +++ b/hosts/vps/git.nix @@ -43,9 +43,9 @@ } handle /cgit.css { try_files ${pkgs.fetchurl { - url = "https://jeremias.stotter.eu/cgi-bin/cgit.cgi/cgit-dark/plain/cgit.css"; - sha256 = "sha256-wqszujnWV5PRh3L23L1BFj/PKUElpyu1KhjqrHS8lCw="; - }} / + url = "https://jeremias.stotter.eu/cgi-bin/cgit.cgi/cgit-dark/plain/cgit.css"; + sha256 = "sha256-wqszujnWV5PRh3L23L1BFj/PKUElpyu1KhjqrHS8lCw="; + }} / file_server } handle /favicon.ico { @@ -74,7 +74,7 @@ source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; logo-link = "/"; virtual-root = "/cgit"; - readme=":README.md"; + readme = ":README.md"; })} } } |