1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-12-30 22:52:20 +01:00
parent 29f54e7a5c
commit 5239ad4550
No known key found for this signature in database
12 changed files with 89 additions and 14 deletions

View file

@ -0,0 +1,9 @@
{config, ...}: {
users.users.guest = {
description = "Guest";
uid = 1001;
isNormalUser = true;
hashedPasswordFile = config.age.secrets."user-guest".path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
};
}

View file

@ -1,5 +1,5 @@
{
inputs,
self,
lib,
pkgs,
...
@ -12,7 +12,7 @@
pkgs.openssh
];
text = let
remoteDir = inputs.self.nixosConfigurations.abacus.config.services.navidrome.settings.MusicFolder;
remoteDir = self.nixosConfigurations.abacus.config.services.navidrome.settings.MusicFolder;
enc = pkgs.writeShellApplication {
name = "enc";
runtimeInputs = [