diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-27 17:55:29 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-29 08:52:42 +0100 |
commit | 24a3b1a96e167b809d634878d016a729969278c0 (patch) | |
tree | dd8a40c3e8e0b453d0262626e9f79d95ea20aef5 /nixos/profiles/workstation/default.nix | |
parent | 813cc3c8d51f21b37b8eb2c5ed6abf0306a7ab0d (diff) |
feat(shared): add vpn
Diffstat (limited to 'nixos/profiles/workstation/default.nix')
-rw-r--r-- | nixos/profiles/workstation/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index ddc9a8c..3be5c6c 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -1,5 +1,8 @@ { config, pkgs, ... }: +let + npins = import ../../npins; +in { imports = [ ../common @@ -9,12 +12,17 @@ ./create.nix ]; - environment.systemPackages = with pkgs; [ - npins + environment.systemPackages = [ + pkgs.npins + (pkgs.callPackage "${npins.agenix}/pkgs/agenix.nix" {}) ]; environment.sessionVariables = { # Tell .zshrc to source zshrc-workstation.sh. MYNIX_PROFILE = "workstation"; }; + + # Age defaults to this anyway when openssh is enabled. + # We're setting this here for workstations where openssh is disabled. + age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"]; } |