add rofi and set ultrawide as primary display
This commit is contained in:
parent
920877b5ce
commit
2e3eee45a7
6 changed files with 179 additions and 3 deletions
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
config,
|
||||
namespace,
|
||||
options,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.graphical-interface.desktop-manager.addons.rofi;
|
||||
|
||||
inherit (lib) mkIf mkEnableOption mkOption types;
|
||||
in
|
||||
{
|
||||
options.${namespace}.graphical-interface.desktop-manager.addons.rofi = {
|
||||
enable = mkEnableOption "Rofi";
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.rofi;
|
||||
description = "The package to use for Rofi";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
wyrdgard.home.file = {
|
||||
".config/rofi/config.rasi".source = ./config.rasi;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue