added vscode and other stuff
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
{ pkgs, modulesPath, ... }:
|
{ pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
(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; [
|
environment.systemPackages = with pkgs; [
|
||||||
@@ -11,17 +11,24 @@
|
|||||||
wget
|
wget
|
||||||
git
|
git
|
||||||
eza
|
eza
|
||||||
|
python312
|
||||||
|
uv
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
services.vscode-server.enable = true;
|
||||||
|
|
||||||
users.users.appdaemon = {
|
users.users.appdaemon = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/srv/appdaemon";
|
home = "/srv/appdaemon";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
"sudo"
|
||||||
"wheel"
|
"wheel"
|
||||||
"docker"
|
"docker"
|
||||||
];
|
];
|
||||||
openssh.authorizedKeys.keyFiles = ["/srv/appdaemon/authorized_keys"];
|
openssh.authorizedKeys.keyFiles = [
|
||||||
|
"/srv/appdaemon/authorized_keys"
|
||||||
|
# "/root/.ssh/authorized_keys"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user