From e6b810b5a1d069d0088e1aa63cb780fd15f3a557 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 5 Apr 2021 01:47:49 +0000 Subject: [PATCH] home: add udiskie --- home/default.nix | 1 + home/udiskie.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 home/udiskie.nix diff --git a/home/default.nix b/home/default.nix index e47940d..2f92758 100644 --- a/home/default.nix +++ b/home/default.nix @@ -15,6 +15,7 @@ ./ssh.nix ./terminal ./tmux.nix + ./udiskie.nix ./vim ./wm ./x diff --git a/home/udiskie.nix b/home/udiskie.nix new file mode 100644 index 0000000..1f2119e --- /dev/null +++ b/home/udiskie.nix @@ -0,0 +1,13 @@ +{ config, lib, ... }: +let + cfg = config.my.home.udiskie; +in +{ + options.my.home.udiskie = with lib; { + enable = mkEnableOption "udiskie configuration"; + }; + + config.services.udiskie = lib.mkIf cfg.enable { + enable = true; + }; +}