aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix/module.nix
diff options
context:
space:
mode:
authorreptee <[email protected]>2022-07-29 11:35:38 +0000
committerGitHub <[email protected]>2022-07-29 14:35:38 +0300
commitfd999100f0de68ff954d2774d22f4167d6e6bd59 (patch)
tree480353e7d09679b5ce8f45ee61708be9e5d33a6a /nix/module.nix
parent0eebf3ab1614a34433cc4d208be84b930b88e25c (diff)
downloadHyprland-fd999100f0de68ff954d2774d22f4167d6e6bd59.tar.gz
Hyprland-fd999100f0de68ff954d2774d22f4167d6e6bd59.zip
Remove extra packages in nix module (#343)
Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]>
Diffstat (limited to 'nix/module.nix')
-rw-r--r--nix/module.nix22
1 files changed, 3 insertions, 19 deletions
diff --git a/nix/module.nix b/nix/module.nix
index a7460b34..0c33aa6f 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -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 {