Changes
1 changed files (+17/-11)
-
-
@@ -5,9 +5,16 @@... }: let # Based on https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/writers/scripts.nix writeFishMinimal = pkgs.writers.makeScriptWriter { interpreter = "${lib.getExe pkgs.fishMinimal} --no-config"; check = "${lib.getExe pkgs.fishMinimal} --no-config --no-execute"; }; in { # Use lower IO priority for Nix so my server is still responsive while getting nix-copy-closured nix.daemonIOSchedClass = "idle"; # This gets rid of a Python dependency via nixos-rebuild-ng system.disableInstallerTools = true; nixpkgs = { hostPlatform = "x86_64-linux";
-
@@ -71,7 +78,11 @@]; }; programs.tmux.enable = true; programs = { fish.package = pkgs.fishMinimal; git.package = pkgs.gitMinimal; tmux.enable = true; }; services.openssh = { enable = true;
-
@@ -128,11 +139,6 @@# 1 year challenge_timeout 8760h } @assets path /cgit.css /cgit.js /cgit.png /favicon.ico handle @assets { root * ${pkgs.cgit}/cgit file_server } reverse_proxy localhost:5555 ''; "*.unnamed.website".extraConfig = ''
-
@@ -173,15 +179,15 @@systemd = { # Fix error when git cloning services.legit.path = [ pkgs.git ]; services.legit.path = [ pkgs.gitMinimal ]; # Update Git mirrors services.update-mirrors = { wantedBy = [ "multi-user.target" ]; path = [ pkgs.git ]; path = [ pkgs.gitMinimal ]; serviceConfig = { User = "a"; Group = "users"; ExecStart = pkgs.writers.writeFish "update-mirrors" ./update-mirrors.fish; ExecStart = writeFishMinimal "update-mirrors" ./update-mirrors.fish; }; }; timers.update-mirrors = {
-