couple fixes

This commit is contained in:
mjallen18
2026-03-17 19:03:56 -05:00
parent 0346094f8e
commit a925fccda1
4 changed files with 45 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ in
enable = true;
hostsAllow = "10.0.1. 127.0.0.1 localhost";
forceGroup = "jallen-nas";
forceUser = "nix-apps";
enableTimeMachine = true;
timeMachinePath = "/media/nas/main/timemachine";
@@ -280,6 +281,12 @@ in
"/etc".neededForBoot = true;
};
# Ensure Samba share root directories are owned by nix-apps:jallen-nas
# so that force user = nix-apps can write to them.
systemd.tmpfiles.rules = [
"d /media/nas/main 0775 nix-apps jallen-nas - -"
];
boot.initrd = {
supportedFilesystems = {
bcachefs = true;