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;
sops.secrets = {
tskey = {
sopsFile = config.xin-secrets.stan.secrets;
owner = "root";
mode = "400";
};
vm_pass = {
sopsFile = config.xin-secrets.stan.main;
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.abieber =
{
@ -163,6 +148,7 @@ in
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
oath-toolkit
barrier
bitwarden
fzf
@ -180,14 +166,13 @@ in
openvpn
remmina
rex
snmpcheck
sshfs
tcpdump
virt-manager
wireshark
zig
rustdesk
(callPackage ../../pkgs/zutty.nix { })
];
virtualisation.libvirtd.enable = true;