i don't know what i'm doing lol again again
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
d0f1edeb7f
commit
d017f01118
|
@ -45,10 +45,6 @@
|
||||||
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; [
|
||||||
|
@ -88,7 +84,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
nixpkgs.overlays = [ self."${system}".overlay ];
|
nixpkgs.overlays = [ self.overlay ];
|
||||||
|
|
||||||
users.users.printerfacts = {
|
users.users.printerfacts = {
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
@ -152,7 +148,7 @@
|
||||||
UMask = "007";
|
UMask = "007";
|
||||||
};
|
};
|
||||||
|
|
||||||
script = let site = pkgs.tulpa.dev.cadey.printerfacts;
|
script = let site = self.defaultPackage;
|
||||||
in ''
|
in ''
|
||||||
export SOCKPATH=${cfg.sockPath}
|
export SOCKPATH=${cfg.sockPath}
|
||||||
export DOMAIN=${toString cfg.domain}
|
export DOMAIN=${toString cfg.domain}
|
||||||
|
|
Loading…
Reference in New Issue