home: wm: put modules into folders

This commit is contained in:
Bruno BELANYI 2021-09-25 15:29:07 +02:00
parent 544aec0d91
commit acc23ab684
6 changed files with 5 additions and 5 deletions

21
home/wm/rofi/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.home.wm.rofi;
in
{
config = lib.mkIf cfg.enable {
programs.rofi = {
enable = true;
terminal = config.my.home.terminal.program; # null by default
package = pkgs.rofi.override {
plugins = with pkgs; [
rofi-emoji
];
};
theme = "gruvbox-dark-hard";
};
};
}