feat(inventory): nixin vm not working example of nixin build
This commit is contained in:
parent
13afab51eb
commit
5ea8cb77f5
1 changed files with 26 additions and 8 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue