profiles: wm: add 'dragger' when a WM is set up

This commit is contained in:
Bruno BELANYI 2021-10-08 15:05:45 +02:00
parent 152df1501a
commit 09140b0170

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.wm;
in
@ -23,5 +23,11 @@ in
# Auto disk mounter
my.home.udiskie.enable = true;
})
(lib.mkIf (cfg.windowManager != null) {
environment.systemPackages = with pkgs; [
ambroisie.dragger
];
})
];
}