add overlay

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-12-26 12:05:40 -05:00
parent 74ee429392
commit 39a2076794
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,10 @@
flake-utils.lib.mkApp { drv = packages.printerfacts; }; flake-utils.lib.mkApp { drv = packages.printerfacts; };
defaultApp = apps.printerfacts; defaultApp = apps.printerfacts;
overlay = final: prev: {
inherit (packages) printerfacts;
};
# `nix develop` # `nix develop`
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
@ -84,6 +88,8 @@
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
nix.overlay = self.overlay;
users.users.printerfacts = { users.users.printerfacts = {
createHome = true; createHome = true;
description = "tulpa.dev/cadey/printerfacts"; description = "tulpa.dev/cadey/printerfacts";