profiles: wm: add 'dragger' when a WM is set up
This commit is contained in:
parent
152df1501a
commit
09140b0170
|
@ -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
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue