Add pkgs overlay
This commit is contained in:
parent
230a7b3e78
commit
83bc46fd3a
3 changed files with 22 additions and 1 deletions
|
|
@ -53,6 +53,8 @@
|
|||
'';
|
||||
};
|
||||
}) // {
|
||||
overlay = import ./pkgs;
|
||||
|
||||
nixosConfigurations = nixpkgs.lib.mapAttrs
|
||||
(hostname: { system
|
||||
, extraModules ? [ ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
|
|
@ -15,6 +15,18 @@
|
|||
autoOptimiseStore = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = with inputs; [
|
||||
self.overlay
|
||||
(final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit (config.nixpkgs)
|
||||
config
|
||||
overlays
|
||||
system;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cached-nix-shell
|
||||
];
|
||||
|
|
|
|||
7
pkgs/default.nix
Normal file
7
pkgs/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
final: prev:
|
||||
let
|
||||
inherit (prev) callPackage;
|
||||
in
|
||||
{
|
||||
mute-indicator = callPackage ./mute-indicator { };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue