Sync
This commit is contained in:
parent
c1025627ae
commit
cef3a949fe
40 changed files with 3401 additions and 158 deletions
17
modules/apps/calibre/default.nix
Normal file
17
modules/apps/calibre/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homelab.apps.calibre;
|
||||
in {
|
||||
options.homelab.apps.calibre.enable = lib.mkEnableOption "Calibre";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
users.users.calibre = {
|
||||
uid = lib.mkForce 3010;
|
||||
isSystemUser = true;
|
||||
group = config.users.groups.media.name;
|
||||
home = "/var/empty";
|
||||
shell = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue