profiles: wm: add 'dragger' when a WM is set up
This commit is contained in:
parent
8c103a2261
commit
971b6e9b65
|
@ -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