diff --git a/configuration.nix b/configuration.nix index b808d2d..3d4c6ec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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" + ]; }; }