From ecaf300b8894e3ae402ff203a8aefcd781552625 Mon Sep 17 00:00:00 2001 From: Antoine Fauroux Date: Thu, 20 Aug 2026 15:54:13 -0400 Subject: [PATCH] kcnhub: mish mash? --- machines/kcnhub/configuration.nix | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/machines/kcnhub/configuration.nix b/machines/kcnhub/configuration.nix index e025b86..b7baeb1 100644 --- a/machines/kcnhub/configuration.nix +++ b/machines/kcnhub/configuration.nix @@ -20,10 +20,11 @@ ./nosleep.nix ]; + sops.age.keyFile = "/root/.config/sops/age/keys.txt"; sops.defaultSopsFile = ./secrets/system.yaml; - networking.networkmanager.enable = true; + # networking.networkmanager.enable = true; # Support NTFS(3g) boot.supportedFilesystems = ["ntfs"]; @@ -44,6 +45,28 @@ # Enable the X11 forwarding over ssh programs.ssh.forwardX11 = true; programs.ssh.setXAuthLocation = true; + environment.etc."vnc/xstartup-minimal".mode = "0755"; + environment.etc."vnc/xstartup-plasma".mode = "0755"; + environment.etc."vnc/xstartup-xfce".mode = "0755"; + + # trying to install matlab runtime + programs.nix-ld = { + enable = true; + package = pkgs.nix-ld; + libraries = with pkgs; [ + glibc + gcc.cc.lib + zlib + pam + libuuid + libxcrypt + openssl + xorg.libX11 + xorg.libXext + xorg.libXrender + xorg.libXtst + ]; + }; # Enable KDE Plasma services.xserver.displayManager.sddm.enable = true; @@ -83,6 +106,8 @@ sops # Used for Key Generation age + # Needed to install claude code (do not touch) + unstable-unfree.claude-code # To try to make X11 forwarding work we install xauth