hosts/common: move /var/lib/private defn into fs.nix

This commit is contained in:
2023-07-13 22:18:45 +00:00
parent cfa50500ac
commit a8382fed12
2 changed files with 3 additions and 3 deletions

View File

@@ -23,9 +23,6 @@
sane.programs.sysadminUtils.enableFor.system = lib.mkDefault true;
sane.programs.consoleUtils.enableFor.user.colin = lib.mkDefault true;
# some services which use private directories error if the parent (/var/lib/private) isn't 700.
sane.fs."/var/lib/private".dir.acl.mode = "0700";
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowBroken = true; # NIXPKGS_ALLOW_BROKEN

View File

@@ -57,6 +57,9 @@ let fsOpts = rec {
};
in
{
# some services which use private directories error if the parent (/var/lib/private) isn't 700.
sane.fs."/var/lib/private".dir.acl.mode = "0700";
# fileSystems."/mnt/servo-nfs" = {
# device = "servo-hn:/";
# noCheck = true;