added vscode and other stuff

This commit is contained in:
John Lancaster
2024-09-13 02:26:53 +00:00
parent 1708869569
commit 139689e91f

View File

@@ -1,9 +1,9 @@
{ 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")
# (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; [
@@ -11,17 +11,24 @@
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"];
openssh.authorizedKeys.keyFiles = [
"/srv/appdaemon/authorized_keys"
# "/root/.ssh/authorized_keys"
];
};
}