rework pkgs, install playerctl/brightnessctl
Some checks failed
/ lint (push) Failing after 36s

This commit is contained in:
Jana Dönszelmann 2026-02-15 12:23:23 +01:00
parent 4f36c42b22
commit ad3ded339f
No known key found for this signature in database
11 changed files with 103 additions and 73 deletions

View file

@ -80,21 +80,10 @@
sops-nix,
vpn-confinement,
home-manager,
mapf,
nixvim,
t,
dumpasm,
jujutsu,
pipethon,
niri,
niri-unstable,
matugen,
noctalia,
firefox-addons,
raw-data,
...
}@inputs:
let
custom = pkgs: import ./pkgs/custom.nix (inputs // { inherit pkgs; });
pkgsForSystem =
system:
import nixpkgs {
@ -102,16 +91,7 @@
config.allowUnfree = true;
overlays = [
(pkgs: _: {
custom = {
t = t.packages.${system}.default;
inherit (dumpasm.packages.${system}) dumpasm;
inherit (jujutsu.packages.${system}) jujutsu;
pipethon = pipethon.packages.${system}.python;
niri = niri-unstable.packages.${system}.niri;
raw-data = raw-data.packages.${system}.default;
maple-mono = pkgs.maple-mono;
};
p1n3appl3 = inputs.p1n3appl3.packages.${system};
custom = custom pkgs;
})
];
};
@ -126,10 +106,11 @@
in
{
nixpkgs = pkgsForSystem system;
specialArgs.flakes = inputs;
specialArgs.inputs = inputs;
specialArgs.secrets = inputs.secrets.packages.${system}.secrets;
specialArgs = {
flakes = inputs;
inherit inputs;
inherit (inputs.secrets.packages.${system}) secrets;
};
};
fili = {
@ -188,7 +169,7 @@
];
shellHook = "exec $NIX_BUILD_SHELL";
};
packages = custom pkgs;
formatter = pkgs.nixfmt;
}
);