rearrange NOTE blocks

This commit is contained in:
Yan Lin 2026-01-24 20:10:55 +01:00
parent 1451b18083
commit 9d1c8f4064
9 changed files with 27 additions and 38 deletions

View file

@ -1,3 +1,6 @@
# NOTE: Authentication file at: `/etc/dufs-auth` with mode 600
# content: `username:password`
{ config, pkgs, lib, ... }:
let
@ -36,10 +39,6 @@ in
# Install dufs package
environment.systemPackages = [ pkgs.dufs ];
# Create systemd service
# NOTE: Authentication credentials must be manually created in /etc/dufs-auth
# The file should contain a single line in format: username:password
# Make sure to set permissions: chmod 600 /etc/dufs-auth
systemd.services.dufs = {
description = "Dufs WebDAV File Server";
wantedBy = [ "multi-user.target" ];