only use x86_64-linux exclusive packages when on that arch (#9)

This commit is contained in:
Spencer Heywood
2025-08-24 23:09:29 -06:00
committed by GitHub
parent 23e8b2371f
commit dd77b809b1
+5 -6
View File
@@ -1,4 +1,4 @@
{pkgs, lib, exclude_packages ? []}: {pkgs, lib, exclude_packages ? []}:
let let
# Essential Hyprland packages - cannot be excluded # Essential Hyprland packages - cannot be excluded
hyprlandPackages = with pkgs; [ hyprlandPackages = with pkgs; [
@@ -47,11 +47,6 @@ let
vlc vlc
signal-desktop signal-desktop
# Commercial GUIs
typora
dropbox
spotify
# Development tools # Development tools
github-desktop github-desktop
gh gh
@@ -59,6 +54,10 @@ let
# Containers # Containers
docker-compose docker-compose
ffmpeg ffmpeg
] ++ lib.optionals (pkgs.system == "x86_64-linux") [
typora
dropbox
spotify
]; ];
# Only allow excluding discretionary packages to prevent breaking the system # Only allow excluding discretionary packages to prevent breaking the system