feat(host/terebralia-sulcata): update user and snapclient service
This commit is contained in:
parent
b34c22480e
commit
95d422c9b4
|
@ -23,6 +23,15 @@
|
|||
|
||||
settings.ssh.openOutsideVPN = true;
|
||||
|
||||
users.users.snapclient = {
|
||||
description = "The user for that all system audio (snapclient/pipewire) should run";
|
||||
isNormalUser = true;
|
||||
linger = true;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../secrets/pub/yubikey.pub
|
||||
];
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
|
|
|
@ -11,6 +11,7 @@ let cfg = config.services.snapclient; in
|
|||
config.systemd.user.services.snapclient = lib.mkIf cfg.enable {
|
||||
wantedBy = lib.warnIfNot config.services.pipewire.enable "Pipewire is not running, snapclient won't work" [
|
||||
"pipewire.service"
|
||||
"default.target"
|
||||
];
|
||||
after = [
|
||||
"pipewire.service"
|
||||
|
|
Loading…
Reference in a new issue