35 lines
782 B
Nix
35 lines
782 B
Nix
{ pkgs, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
# (import "${builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz}/nixos")
|
|
(fetchTarball "https://github.com/nix-community/nixos-vscode-server/tarball/master")
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
bash
|
|
wget
|
|
git
|
|
eza
|
|
python312
|
|
uv
|
|
];
|
|
|
|
virtualisation.docker.enable = true;
|
|
services.vscode-server.enable = true;
|
|
|
|
users.users.appdaemon = {
|
|
isNormalUser = true;
|
|
home = "/srv/appdaemon";
|
|
extraGroups = [
|
|
"sudo"
|
|
"wheel"
|
|
"docker"
|
|
];
|
|
openssh.authorizedKeys.keyFiles = [
|
|
"/srv/appdaemon/authorized_keys"
|
|
# "/root/.ssh/authorized_keys"
|
|
];
|
|
};
|
|
}
|