vps update

file sharing and forgejo
This commit is contained in:
alsaiduq-lab 2026-03-13 00:19:07 -06:00
parent 6f530b1d5d
commit ace2b38ec9
11 changed files with 329 additions and 124 deletions

View file

@ -1,8 +1,5 @@
{
config,
pkgs,
lib,
inputs,
modulesPath,
...
}: {
@ -22,8 +19,9 @@
./modules/rust.nix
./modules/python.nix
./modules/go.nix
./modules/ld.nix
./modules/core.nix
./modules/misc.nix
./server/forgejo.nix
./server/copyparty.nix
];
system.stateVersion = "25.11";
@ -34,20 +32,10 @@
programs.fish.enable = true;
npm.enable = true;
environment.systemPackages = with pkgs; [
xclip
direnv
];
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.auto-optimise-store = true;
};
services = {
fstrim.enable = true;
xserver.enable = false;