added tailscale and telegraf services
This commit is contained in:
@@ -13,15 +13,12 @@ in
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
(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")
|
||||
./telegraf.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "nrbs" ''
|
||||
sudo nixos-rebuild switch
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "nrbsu" ''
|
||||
sudo nix-channel --update && sudo nixos-rebuild switch
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "nrbs" "sudo nixos-rebuild switch")
|
||||
(pkgs.writeShellScriptBin "nrbsu" "sudo nix-channel --update && sudo nixos-rebuild switch")
|
||||
(pkgs.writeShellScriptBin "ad-clone" ''
|
||||
if [ ! -d ${adPath} ]; then
|
||||
sudo git clone -b ${adBranch} ${adRepo} ${adPath}
|
||||
@@ -40,6 +37,7 @@ in
|
||||
virtualisation.docker.enable = true;
|
||||
services.vscode-server.enable = true;
|
||||
services.openssh.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
|
||||
system.activationScripts.ensureDirectory = ''
|
||||
if [ ! -d /conf ]; then
|
||||
|
||||
Reference in New Issue
Block a user