This commit is contained in:
parent
4f36c42b22
commit
ad3ded339f
11 changed files with 103 additions and 73 deletions
35
flake.nix
35
flake.nix
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue