major restructuring for using snowfall
This commit is contained in:
16
modules/home/rofi/default.nix
Normal file
16
modules/home/rofi/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let cfg = config.modules.rofi;
|
||||
in {
|
||||
options.modules.rofi = { enable = mkOption { default = false; }; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.rofi = { enable = true; };
|
||||
|
||||
home.file = {
|
||||
".config/rofi/config.rasi".source = ../../i3/rofi/config.rasi;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user