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:
reptee 2022-07-29 11:35:38 +00:00 committed by GitHub
parent 0eebf3ab16
commit fd999100f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,25 +27,9 @@ in {
''; '';
}; };
extraPackages = mkOption { imports = [
type = with types; listOf package; (mkRemovedOptionModule ["programs" "hyprland" "extraPackages"] "extraPackages has been removed. Use environment.systemPackages instead.")
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.
'';
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {