From be9cadd49f079f3e4a6cdd8bdee463436a21723b Mon Sep 17 00:00:00 2001 From: tzlil Date: Sun, 21 May 2023 19:20:18 +0300 Subject: fix nixinate, add mullvad firejail --- hosts/laptop/cfg.nix | 7 +++++++ hosts/vps/git.nix | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'hosts') 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"; })} } } -- cgit 1.4.1