(T)im's N(ix) Flake, Multi-Host Configurations for all of my machines! 74k1.sh/
nixos nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(secrets): add ssh-key secrets

74k1 70f8b0e7 4af2c0fe

+2 -5
+2 -5
modules/nixos/taki/default.nix
··· 1 - { inputs, outputs, lib, config, pkgs, ... }: 1 + { inputs, outputs, lib, config, pkgs, allSecrets, ... }: 2 2 let 3 3 berkeley-otf = pkgs.callPackage "${inputs.self}/pkgs/berkeley-otf.nix" { inherit pkgs; }; 4 4 in ··· 16 16 isNormalUser = true; 17 17 description = "taki"; 18 18 extraGroups = [ "wheel" "networkmanager" "plex" "user-with-access-to-virtualbox" ]; 19 - openssh.authorizedKeys.keys = [ # TODO 20 - "ssh-ed25519 blabla xyz@xyz" # GPG 21 - "ssh-rsa blabla xyz@xyz" 22 - ]; 19 + openssh.authorizedKeys.keys = allSecrets.per_service.openssh.authorizedKeys.keys; 23 20 shell = pkgs.zsh; 24 21 }; 25 22 }