diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/ganymede/config.nix | 7 | ||||
| -rw-r--r-- | hosts/mercury/hjem.nix | 1 | ||||
| -rw-r--r-- | hosts/mercury/nixos.nix | 56 |
3 files changed, 64 insertions, 0 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index 03235f0..94d67ec 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -74,6 +74,8 @@ listenAddr = "0.0.0.0"; }; + ngircd.enable = true; + qbittorrent = { enable = true; privateUrl = "bittorrent.ganymede"; @@ -96,6 +98,11 @@ publicUrl = "jta.williamsfam.us.com"; }; + ganyupload = { + enable = true; + publicUrl = "upld.williamsfam.us.com"; + }; + caddy = { enable = true; envFile = config.collinux.secrets."caddy-env".path; diff --git a/hosts/mercury/hjem.nix b/hosts/mercury/hjem.nix index 7084251..6ecbb8e 100644 --- a/hosts/mercury/hjem.nix +++ b/hosts/mercury/hjem.nix @@ -7,6 +7,7 @@ prismlauncher mpv + irssi opencode diff --git a/hosts/mercury/nixos.nix b/hosts/mercury/nixos.nix index 7db48b4..a47375a 100644 --- a/hosts/mercury/nixos.nix +++ b/hosts/mercury/nixos.nix @@ -1,6 +1,7 @@ { lib, inputs, + pkgs, ... }: { imports = [ @@ -23,6 +24,61 @@ }; programs.kdeconnect.enable = true; + security.soteria.enable = true; + + virtualisation.podman = { + enable = true; + dockerCompat = true; + }; + users.users.collin = { + extraGroups = ["podman"]; + subGidRanges = [ + { + count = 65536; + startGid = 100000; + } + ]; + subUidRanges = [ + { + count = 65536; + startUid = 100000; + } + ]; + }; + + services.jupyter = { + enable = true; + ip = "127.0.0.1"; + port = 8888; + + user = "collin"; # to access my files + + package = pkgs.python313Packages.jupyter; + command = "jupyter lab --ServerApp.token='' --ServerApp.password=''"; + password = ""; + + notebookDir = "~/brain/notes/schoolyear2025/physics"; + + kernels = { + python3 = let + python = pkgs.python313.withPackages (ps: + with ps; [ + numpy + pandas + matplotlib + sympy + ipywidgets + ipydatagrid + ipykernel + ]); + in { + language = "python"; + displayName = "Python (Physics)"; + argv = ["${python}/bin/python" "-m" "ipykernel_launcher" "-f" "{connection_file}"]; + }; + }; + }; + fileSystems."/home/collin/ganymede" = { device = "collin@ganymede:/media"; fsType = "fuse.sshfs"; |
