feat(inventory): nixin vm not working example of nixin build

This commit is contained in:
Florian Schmitt 2024-12-16 13:46:05 +03:00
parent 13afab51eb
commit 5ea8cb77f5

View file

@ -14,7 +14,7 @@
networking.domain = "chmok.net"; networking.domain = "chmok.net";
networking.firewall = { networking.firewall = {
allowedUDPPorts = [ allowedUDPPorts = [
53 # forgejo 53 # forgejo-runner
8098 # wireguard 8098 # wireguard
]; ];
allowedTCPPorts = [ allowedTCPPorts = [
@ -173,13 +173,31 @@
# ${adminCmd} change-password --username ${user} --password "${pwd}" || true # ${adminCmd} change-password --username ${user} --password "${pwd}" || true
''; '';
environment.systemPackages = with pkgs; [ environment.systemPackages =
git with pkgs;
wget let
tmux #nixin-web = buildNpmPackage {
mosh # pname = "nixin-web";
htop # 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"; system.stateVersion = "24.05";
} }