flake lock and fixes to toothpick
This commit is contained in:
@@ -13,6 +13,7 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
implementation = "broker";
|
||||
packages = with pkgs; [
|
||||
gcr
|
||||
];
|
||||
|
||||
18
modules/nixos/services/psd/default.nix
Normal file
18
modules/nixos/services/psd/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.services.psd;
|
||||
in {
|
||||
options = {
|
||||
nixos.services.psd.enable = mkEnableOption "Enables Profile Sync Daemon";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.psd = {
|
||||
enable = true;
|
||||
resyncTimer = "10m";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user