system.autoUpgrade = {
enable = true;
allowReboot = true;
+ flake = inputs.self.outPath;
+ flags = [ "-L" ];
+ dates = "02:00";
+ randomizedDelaySec = "45min";
};
networking.hostName = "netcup"; # Define your hostname.
tmux
md4c
highlight
+ multimarkdown
python312Packages.pygments
pkg-config
extraConfig = ''
psch.dev ps.run pasch.cc {
+ rewrite /src /src/
+ handle_path /src/* {
+ reverse_proxy http://localhost:3000
+ }
rewrite /git /git/
handle_path /git/* {
encode gzip zstd
socket.group = "caddy";
};
+ services.forgejo = {
+ enable = true;
+ repositoryRoot = "/srv/git2";
+ settings = {
+ server = {
+ DOMAIN = "ps.run";
+ ROOT_URL = "https://ps.run/src";
+ };
+ repository = {
+ REQUIRE_SIGNIN_VIEW = false;
+ };
+ service = {
+ REQUIRE_SIGNIN_VIEW = false;
+ DISABLE_REGISTRATION = true;
+ };
+ };
+ };
+ users.users.forgejo.extraGroups = [ "git" ];
+
users.users.chirp = {
isSystemUser = true;
group = "chirp";
]
},
"locked": {
- "lastModified": 1764122622,
- "narHash": "sha256-TcBFscZxMn9ZRe/bxDVG/pmvqdJGP/aXUUANDikU4NA=",
+ "lastModified": 1764208886,
+ "narHash": "sha256-voOx8RsK3miw3EHw05nwuOS4ltzeH8tKJnVr+mxtTPQ=",
"owner": "Infinidoge",
"repo": "nix-minecraft",
- "rev": "e6cfda9f65cb9bd38fa10efb4c43b09c9fe659eb",
+ "rev": "7da8a2d675f9cc56b3f6d654b4cccdca5016ac8e",
"type": "github"
},
"original": {
"type": "github"
}
},
- "psch-flakes": {
+ "ps-flakes": {
"inputs": {
"flake-utils": "flake-utils_4",
"nixpkgs": [
]
},
"locked": {
- "lastModified": 1764149497,
- "narHash": "sha256-JJhhMJEd86fsAAUzAKKHsyW5Hz1DWne8BZ9ffd/jI3U=",
+ "lastModified": 1764274965,
+ "narHash": "sha256-N2ok5ycRR8fTpBaJuvtpml1qDfgShk0/iOOwMoBLM2g=",
"ref": "refs/heads/main",
- "rev": "9a1d0c514456752694e317bfef7b500fa7caeee2",
- "revCount": 18,
+ "rev": "1998b16ee96c2f01e072f375e2d4e5ae528302ed",
+ "revCount": 22,
"type": "git",
- "url": "git://psch.dev/flakes"
+ "url": "git://ps.run/flakes"
},
"original": {
"type": "git",
- "url": "git://psch.dev/flakes"
+ "url": "git://ps.run/flakes"
}
},
"root": {
"flake-utils": "flake-utils_2",
"nix-minecraft": "nix-minecraft",
"nixpkgs": "nixpkgs",
- "psch-flakes": "psch-flakes",
+ "ps-flakes": "ps-flakes",
"simple-nixos-mailserver": "simple-nixos-mailserver"
}
},