refactor: moved nixos modules to dendrite pattern
This commit is contained in:
parent
df8dd110ad
commit
0ea11e0236
219 changed files with 4802 additions and 4820 deletions
13
modules/nixos/home-manager-adaptors/openssh.nix
Normal file
13
modules/nixos/home-manager-adaptors/openssh.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
flake.nixosModules.home-manager-openssh = {
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
users.users =
|
||||
lib.attrsets.mapAttrs (name: value: {
|
||||
openssh.authorizedKeys.keys = value.programs.openssh.authorizedKeys;
|
||||
})
|
||||
config.home-manager.users;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue