Use modules folder
This commit is contained in:
parent
e42f845f09
commit
2903676336
46 changed files with 21 additions and 21 deletions
18
modules/rofi/default.nix
Normal file
18
modules/rofi/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
_theme = import ../theme;
|
||||
theme = _theme.theme; # Theme name
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
(pkgs.callPackage ./power.nix { })
|
||||
wmctrl # TODO: add as dependency of rofi-power
|
||||
];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
inherit theme;
|
||||
};
|
||||
home.file.".config/rofi/${theme}.rasi".source = pkgs.substituteAll ({
|
||||
src = ./theme.rasi;
|
||||
} // _theme.colors);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue