diff --git a/inventory/nixin.nix b/inventory/nixin.nix index f1e170e..8bb27a8 100644 --- a/inventory/nixin.nix +++ b/inventory/nixin.nix @@ -14,7 +14,7 @@ networking.domain = "chmok.net"; networking.firewall = { allowedUDPPorts = [ - 53 # forgejo + 53 # forgejo-runner 8098 # wireguard ]; allowedTCPPorts = [ @@ -173,13 +173,31 @@ # ${adminCmd} change-password --username ${user} --password "${pwd}" || true ''; - environment.systemPackages = with pkgs; [ - git - wget - tmux - mosh - htop - ]; + environment.systemPackages = + with pkgs; + let + #nixin-web = buildNpmPackage { + # pname = "nixin-web"; + # version = "0.1-alpha"; + # src = fetchgit { + # url = "https://git.distrilab.fr/NixiN/nixin-web"; + # rev = "30384e64854b04e1f51ba68c3874765e141e9fc1"; + # hash = "sha256-ERx6GX/qaiZXMzaLXuWTq4FxJ3RYy/LtkC2/kstF9nw="; + # }; + # makeCacheWritable = true; + # npmDepsHash = "sha256-0YIrAMbM1CtInq1XPs/5r8FhOzE7bKXMoN23vm/ihEA="; + # npmBuildScript = "docs:build"; + #}; + indication = "the code above keep stuck because vite and nixos are'nt friends"; + in + [ + #nixin-web + git + wget + tmux + mosh + htop + ]; system.stateVersion = "24.05"; }