feat: Authorise fruitbook
This commit is contained in:
@@ -27,6 +27,8 @@ in {
|
|||||||
description = "Deertopia's WebDAV server";
|
description = "Deertopia's WebDAV server";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
# TODO: Exclude .git.
|
||||||
|
# TODO: Respect .gitignore.
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.rclone}/bin/rclone serve webdav \
|
${pkgs.rclone}/bin/rclone serve webdav \
|
||||||
--addr ":${builtins.toString cfg.port}" \
|
--addr ":${builtins.toString cfg.port}" \
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
extraGroups = [ "wheel" "persist" ];
|
extraGroups = [ "wheel" "persist" ];
|
||||||
initialHashedPassword =
|
initialHashedPassword =
|
||||||
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
||||||
|
|
||||||
|
openssh.authorizedKeys.keyFiles = [
|
||||||
|
../../public-keys/crumb-at-guix-rebound.pub
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfiguration = { config, lib, pkgs, ... }: {
|
homeConfiguration = { config, lib, pkgs, ... }: {
|
||||||
|
|||||||
Reference in New Issue
Block a user