Files
ad-nix/configuration.nix
John Lancaster 1708869569 some user changes
2024-09-12 02:16:25 +00:00

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