modules/home: Remove standalone hm compatibility layer

This commit is contained in:
SebastianStork 2026-02-06 15:09:08 +01:00
parent e0c8bb401b
commit d54e079db8
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI
5 changed files with 22 additions and 22 deletions

View file

@ -1,22 +1,16 @@
{
config,
osConfig,
self,
lib,
...
}@moduleArgs:
let
cfg = config.custom.programs.ssh;
in
}:
{
options.custom.programs.ssh = {
enable = lib.mkEnableOption "";
hostName = lib.mkOption {
type = lib.types.nonEmptyStr;
default = moduleArgs.osConfig.networking.hostName or "";
};
publicKeyPath = lib.mkOption {
type = lib.types.path;
default = "${self}/users/${config.home.username}/@${cfg.hostName}/keys/ssh.pub";
default = "${self}/users/${config.home.username}/@${osConfig.networking.hostName}/keys/ssh.pub";
};
};