desko: disable guest account
This commit is contained in:
@@ -4,11 +4,10 @@
|
|||||||
./fs.nix
|
./fs.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
sane.guest.enable = true;
|
# sane.guest.enable = true;
|
||||||
|
|
||||||
# TODO: make sure this plays nice with impermanence
|
# services.distccd.enable = true;
|
||||||
services.distccd.enable = true;
|
# sane.programs.distcc.enableFor.user.guest = true;
|
||||||
sane.programs.distcc.enableFor.user.guest = true;
|
|
||||||
|
|
||||||
sops.secrets.colin-passwd.neededForUsers = true;
|
sops.secrets.colin-passwd.neededForUsers = true;
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
let
|
let
|
||||||
inherit (lib.strings) hasSuffix removeSuffix;
|
inherit (lib.strings) hasSuffix removeSuffix;
|
||||||
secretsForHost = host: let
|
secretsForHost = host: let
|
||||||
extraAttrsForPath = path: lib.optionalAttrs (sane-lib.path.isChild "guest" path) {
|
extraAttrsForPath = path: lib.optionalAttrs (sane-lib.path.isChild "guest" path && builtins.hasAttr "guest" config.users.users) {
|
||||||
owner = "guest";
|
owner = "guest";
|
||||||
};
|
};
|
||||||
in sane-lib.joinAttrsets (
|
in sane-lib.joinAttrsets (
|
||||||
|
Reference in New Issue
Block a user