diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..f24f172 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,27 @@ +{ config, modulesPath, pkgs, lib, ... }: +{ + imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ]; + nix.settings = { sandbox = false; }; + proxmoxLXC = { + manageNetwork = false; + privileged = true; + }; + security.pam.services.sshd.allowNullPassword = true; + services.openssh = { + enable = true; + openFirewall = true; + settings = { + PermitRootLogin = "yes"; + PasswordAuthentication = false; + }; + }; + + environment.systemPackages = with pkgs; [ + vim + git + (python3.withPackages (p: with p; [paho-mqtt mido])) + ]; + + + system.stateVersion = "25.05"; +}