couple fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user