my nix configs for my servers and desktop
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 ];
19
20 services.openssh.enable = true;
21 services.printing.enable = true;
22 services.tailscale.enable = true;
23 services.tailscale.useRoutingFeatures = "both";
24 services.tailscale.authKeyFile = lib.mkIf (config ? age && config.age ? secrets)
25 config.age.secrets."headscale-authkey".path;
26}