mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
Remove extra packages in nix module (#343)
Co-authored-by: Mihai Fufezan <fufexan@pm.me> Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
This commit is contained in:
@@ -27,25 +27,9 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = with types; listOf package;
|
||||
default = with pkgs; [
|
||||
kitty
|
||||
wofi
|
||||
swaybg
|
||||
];
|
||||
defaultText = literalExpression ''
|
||||
with pkgs; [ kitty wofi swaybg ];
|
||||
'';
|
||||
example = literalExpression ''
|
||||
with pkgs; [
|
||||
alacritty wofi
|
||||
]
|
||||
'';
|
||||
description = ''
|
||||
Extra packages to be installed system wide.
|
||||
'';
|
||||
};
|
||||
imports = [
|
||||
(mkRemovedOptionModule ["programs" "hyprland" "extraPackages"] "extraPackages has been removed. Use environment.systemPackages instead.")
|
||||
];
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
Reference in New Issue
Block a user