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 8c103a2261
commit 971b6e9b65

View file

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