removed stuff
This commit is contained in:
parent
94b210a303
commit
ab4960e8c4
16 changed files with 69 additions and 773 deletions
|
@ -4,19 +4,10 @@ with lib;
|
|||
let
|
||||
username = config.modules.other.system.username;
|
||||
cfg = config.modules.programs.rofi;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.modules.programs.rofi.enable = mkEnableOption "rofi";
|
||||
options.modules.other.system.wayland = mkOption {
|
||||
type = types.bool;
|
||||
description = "Does this system use wayland?";
|
||||
default = false;
|
||||
}; #FIXME: move this to the (hopefully then) refactored options directory
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
(if config.modules.other.system.wayland then rofi-wayland else rofi)
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ rofi ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue