chore: updated or removed deprecated shit

This commit is contained in:
Nick 2025-11-01 03:22:36 -05:00
parent 38a9eddafe
commit 907d72e1fb
3 changed files with 17 additions and 15 deletions

View file

@ -1,9 +1,13 @@
{ {
flake,
osConfig,
pkgs, pkgs,
... ...
}: }:
{ let
home.packages = builtins.attrValues { inherit (flake.config.machines.devices) ceres;
hostname = osConfig.networking.hostName;
nvTopPackage = {
inherit (pkgs) inherit (pkgs)
pciutils pciutils
; ;
@ -11,4 +15,14 @@
nvidia nvidia
; ;
}; };
hostLogic = if hostname == ceres.name then nvTopPackage else [ ];
in
{
home.packages =
builtins.attrValues {
inherit (pkgs)
pciutils
;
}
++ hostLogic;
} }

View file

@ -5,7 +5,7 @@
{ {
home.packages = builtins.attrValues { home.packages = builtins.attrValues {
inherit (pkgs) inherit (pkgs)
pinentry pinentry-curses
; ;
}; };
} }

View file

@ -1,12 +0,0 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
protonvpn-cli_2
protonvpn-gui
;
};
}