diff options
author | Ben Sima <ben@bsima.me> | 2021-12-01 07:52:00 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-12-01 07:52:00 -0500 |
commit | 440cf7690a520a7c74e5125e5d94922f177e51c5 (patch) | |
tree | 1c225a9d99b8bd360bed7ae747667a8194ef8f0c | |
parent | 111ae9cdba0c37a7cc3746a66a33b66c23f057ff (diff) |
Run k3s, and provide bild.image
-rw-r--r-- | Biz/Bild.nix | 2 | ||||
-rw-r--r-- | Biz/Cloud/Ports.nix | 1 | ||||
-rw-r--r-- | Biz/Dev/Configuration.nix | 10 |
3 files changed, 13 insertions, 0 deletions
diff --git a/Biz/Bild.nix b/Biz/Bild.nix index 6a0ce0c..cab8193 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -153,4 +153,6 @@ in rec { }; os = cfg: (nixpkgs.nixos (args: cfg)).toplevel; + + image = pkgs.dockerTools.buildImage; } diff --git a/Biz/Cloud/Ports.nix b/Biz/Cloud/Ports.nix index ad5ddc9..4ba5d7e 100644 --- a/Biz/Cloud/Ports.nix +++ b/Biz/Cloud/Ports.nix @@ -13,6 +13,7 @@ https = 443; jellyfin = 8096; jupyter = 4000; + k3s = 6443; mpd = 6600; mpd-stream = 8097; murmur = 64738; diff --git a/Biz/Dev/Configuration.nix b/Biz/Dev/Configuration.nix index 8eb4958..6c58ba4 100644 --- a/Biz/Dev/Configuration.nix +++ b/Biz/Dev/Configuration.nix @@ -22,6 +22,7 @@ in { ports.https ports.jellyfin ports.jupyter + ports.k3s ports.mpd ports.mpd-stream ports.murmur @@ -64,6 +65,7 @@ in { ]; environment.systemPackages = [ + pkgs.k3s pkgs.wemux pkgs.tmux pkgs.wireguard @@ -128,6 +130,14 @@ in { eternal-terminal = { enable = true; }; + + k3s = { + enable = true; + role = "server"; + extraFlags = toString [ + ]; + }; + tor = { enable = true; client.enable = true; |