mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix): mypkgs
This commit is contained in:
parent
f8399a3e2b
commit
1d2d84bf1f
3 changed files with 14 additions and 12 deletions
14
nix/lib.nix
14
nix/lib.nix
|
|
@ -40,7 +40,9 @@
|
|||
nurpkgs = pkgs;
|
||||
};
|
||||
mypkgs = import ./mypkgs {
|
||||
inherit pkgs unstable opam-nix;
|
||||
inherit pkgs unstable;
|
||||
inherit system;
|
||||
inherit opam-nix;
|
||||
};
|
||||
in {
|
||||
inherit pkgs unstable nur mypkgs;
|
||||
|
|
@ -84,11 +86,7 @@ in {
|
|||
modules = [./home/common (./home/leana + "@${hostname}")];
|
||||
};
|
||||
|
||||
myPackages = flake-utils.lib.eachDefaultSystem (system: let
|
||||
inherit (mkArgs system) mypkgs;
|
||||
in {
|
||||
packages = {
|
||||
inherit (mypkgs) hiosevka hiosevka-nerd-font;
|
||||
};
|
||||
});
|
||||
myPackages =
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system: {packages = (mkArgs system).mypkgs;});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue