This commit is contained in:
parent
a4e207ed74
commit
4b27415d2a
1 changed files with 26 additions and 0 deletions
26
modules/scripts/ppp.nix
Normal file
26
modules/scripts/ppp.nix
Normal 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}))
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue