stan: clean up a bit, add some commonly used pkgs

This commit is contained in:
Aaron Bieber 2023-10-06 11:56:16 -06:00
parent 29c9a08389
commit e7d43883aa
No known key found for this signature in database

View File

@ -121,11 +121,6 @@ in
sshFidoAgent.enable = true; sshFidoAgent.enable = true;
sops.secrets = { sops.secrets = {
tskey = {
sopsFile = config.xin-secrets.stan.secrets;
owner = "root";
mode = "400";
};
vm_pass = { vm_pass = {
sopsFile = config.xin-secrets.stan.main; sopsFile = config.xin-secrets.stan.main;
owner = "root"; owner = "root";
@ -140,16 +135,6 @@ in
}; };
}; };
systemd.services = {
"tailscale-init" = {
wantedBy = [ "tailscaled.service" ];
after = [ "tailscaled.service" ];
serviceConfig = {
ExecStart = "${pkgs.tailscale}/bin/tailscale up --auth-key file://${config.sops.secrets.tskey.path}";
};
};
};
users.users.root = userBase; users.users.root = userBase;
users.users.abieber = users.users.abieber =
{ {
@ -163,6 +148,7 @@ in
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
oath-toolkit
barrier barrier
bitwarden bitwarden
fzf fzf
@ -180,14 +166,13 @@ in
openvpn openvpn
remmina remmina
rex rex
snmpcheck
sshfs sshfs
tcpdump tcpdump
virt-manager virt-manager
wireshark wireshark
zig zig
rustdesk rustdesk
(callPackage ../../pkgs/zutty.nix { })
]; ];
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;