Add a stable branch to my flake.nix to still use broken packages if broken on unstable

This commit is contained in:
Zeph Levy 2025-11-16 15:20:41 +01:00
parent 6167e8af4a
commit 79d981ea73
3 changed files with 41 additions and 13 deletions

View file

@ -1,5 +1,5 @@
{ pkgs, lib, config, ... }: {
environment.systemPackages = with pkgs; [
{ pkgs, pkgs-stable, lib, config, ... }: {
environment.systemPackages = (with pkgs; [
# Editors
helix
vim
@ -40,10 +40,8 @@
starship
home-manager
capitaine-cursors-themed
# adwaita-icon-theme
libsecret
lsd
# protonvpn-gui
wireguard-tools
# Internet
@ -67,7 +65,11 @@
hyprshot
mako
swayosd
];
])
++
(with pkgs-stable; [
protonvpn-gui
]);
# Unfree pkgs
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [