1
0
mirror of https://github.com/tboerger/nixos-config synced 2025-02-22 23:31:08 +01:00
github.com-tboerger-nixos-c.../profiles/shared/services/udiskie.nix
2024-11-24 16:13:14 +01:00

29 lines
405 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.services.udiskie;
in
{
options = {
profile = {
services = {
udiskie = {
enable = mkEnableOption "Udiskie";
};
};
};
};
config = mkIf cfg.enable {
services = {
udiskie = {
enable = true;
automount = true;
notify = true;
};
};
};
}