diff --git a/README.md b/README.md deleted file mode 100644 index 5ca5078..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# EchoOfTheSelf - diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..69c3a61 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + 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 + ''; + }); + }; +}