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
|
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
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue