28 lines
569 B
Nix
28 lines
569 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")
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
bash
|
|
wget
|
|
git
|
|
eza
|
|
];
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
users.users.appdaemon = {
|
|
isNormalUser = true;
|
|
home = "/srv/appdaemon";
|
|
extraGroups = [
|
|
"wheel"
|
|
"docker"
|
|
];
|
|
openssh.authorizedKeys.keyFiles = ["/srv/appdaemon/authorized_keys"];
|
|
};
|
|
}
|