Add ppp script
All checks were successful
/ check (push) Successful in 50s

This commit is contained in:
Oliver Davies 2025-09-03 09:34:48 +01:00
parent a4e207ed74
commit 4b27415d2a

26
modules/scripts/ppp.nix Normal file
View file

@ -0,0 +1,26 @@
{ inputs, withSystem, ... }:
let
name = "ppp";
in
{
perSystem =
{ pkgs, ... }:
{
packages.ppp = pkgs.writeShellApplication {
inherit name;
runtimeInputs = with pkgs; [ coreutils ];
text = builtins.readFile "${inputs.rwxrob-dot}/scripts/${name}";
};
};
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(withSystem pkgs.system (psArgs: psArgs.config.packages.${name}))
];
};
}