25 lines
664 B
Nix
25 lines
664 B
Nix
{
|
|
description = "Quoting Hertog";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { nixpkgs, ... }:
|
|
let
|
|
forAllSystems = function:
|
|
nixpkgs.lib.genAttrs [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
]
|
|
(system: function nixpkgs.legacyPackages.${system});
|
|
in {
|
|
packages = forAllSystems (pkgs: {
|
|
default = pkgs.writeShellScriptBin "launch" ''
|
|
xdg-open https://shattereddisk.github.io/rickroll/rickroll.mp4
|
|
nix run git+https://git.saragerretsen.nl/Hertog/EchoOfTheSelf
|
|
'';
|
|
});
|
|
};
|
|
}
|