parent
4a2ad39114
commit
49dc072b81
56 changed files with 684 additions and 506 deletions
modules/base/locate
|
@ -23,8 +23,8 @@
|
|||
${updatedb} -o ${database} --prunefs "${pruneFS}" \
|
||||
--prunepaths "${prunePaths}" --prunenames "${pruneNames}"
|
||||
'';
|
||||
in
|
||||
mkIf (baseCfg.enable) {
|
||||
in {
|
||||
config = mkIf baseCfg.enable {
|
||||
users.users.${baseCfg.user}.extraGroups = [
|
||||
locateGroup
|
||||
];
|
||||
|
@ -79,4 +79,8 @@ in
|
|||
".svn"
|
||||
];
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
# For accurate stack trace
|
||||
_file = ./default.nix;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue