add overlay
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
74ee429392
commit
39a2076794
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user