my nix configs for my servers and desktop
at main 679 B view raw
1{ config, pkgs, lib, ... }: 2{ 3 # system packages + services 4 environment.systemPackages = with pkgs; [ 5 vim 6 wget 7 fastfetch 8 lsof 9 btop 10 git 11 openssl 12 stdenv 13 gnumake 14 parted 15 zfs 16 nixos-generators 17 sqlite 18 bun 19 unzip 20 ]; 21 22 services.openssh.enable = true; 23 services.printing.enable = true; 24 services.tailscale.enable = true; 25 services.tailscale.useRoutingFeatures = "both"; 26 services.tailscale.authKeyFile = lib.mkIf (config ? age && config.age ? secrets) 27 config.age.secrets."headscale-authkey".path; 28 services.tailscale.extraUpFlags = [ 29 "--login-server=https://headscale.nekomimi.pet" 30 ]; 31}