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.firewall = {
allowedUDPPorts = [
53 # forgejo
53 # forgejo-runner
8098 # wireguard
];
allowedTCPPorts = [
@ -173,7 +173,25 @@
# ${adminCmd} change-password --username ${user} --password "${pwd}" || true
'';
environment.systemPackages = with pkgs; [
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