add configuration.nix with python env

This commit is contained in:
coon 2025-09-30 17:57:11 +00:00
parent b7024c124b
commit 772dee8cd9

27
configuration.nix Normal file
View file

@ -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";
}