mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
chore: updated or removed deprecated shit
This commit is contained in:
parent
38a9eddafe
commit
907d72e1fb
3 changed files with 17 additions and 15 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
{
|
{
|
||||||
home.packages = builtins.attrValues {
|
home.packages = builtins.attrValues {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
pinentry
|
pinentry-curses
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
home.packages = builtins.attrValues {
|
|
||||||
inherit (pkgs)
|
|
||||||
protonvpn-cli_2
|
|
||||||
protonvpn-gui
|
|
||||||
;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue