Refactor codebase to use nix modules
This commit is contained in:
parent
a4735423b4
commit
ffada2703c
114 changed files with 1018 additions and 744 deletions
14
hmModules/apps/rofi/default.nix
Normal file
14
hmModules/apps/rofi/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.rofi = {
|
||||
enable = lib.mkEnableOption "Enables rofi";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.rofi.enable {
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue