26 lines
566 B
Nix
Executable file
26 lines
566 B
Nix
Executable file
{ config, pkgs, lib, ... }:
|
|
{
|
|
# system packages + services
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
wget
|
|
fastfetch
|
|
lsof
|
|
btop
|
|
git
|
|
openssl
|
|
stdenv
|
|
gnumake
|
|
parted
|
|
zfs
|
|
nixos-generators
|
|
sqlite
|
|
];
|
|
|
|
services.openssh.enable = true;
|
|
services.printing.enable = true;
|
|
services.tailscale.enable = true;
|
|
services.tailscale.useRoutingFeatures = "both";
|
|
services.tailscale.authKeyFile = lib.mkIf (config ? age && config.age ? secrets)
|
|
config.age.secrets."headscale-authkey".path;
|
|
}
|