summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-05-21 19:20:18 +0300
committertzlil <tzlils@protonmail.com>2023-05-21 19:20:18 +0300
commitbe9cadd49f079f3e4a6cdd8bdee463436a21723b (patch)
tree8f9e8912bcd37253e4da9b573d8a9e03ef8bac22 /hosts
parent2e361cef77f8696870d0b204b1ce95868133c29a (diff)
fix nixinate, add mullvad firejail
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/cfg.nix7
-rw-r--r--hosts/vps/git.nix8
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";
           })}
                 }
               }