Modules for Elvish Shell

Adding flake.nix

Changed files
+48 -1
+37 -1
README.md
··· 1 1 # mellon 2 - Modules for Elvish Shell 2 + ## Speak, friend, and enter 3 + 4 + Modules for [Elvish Shell](https://github.com/elves/elvish) 5 + 6 + # Install 7 + 8 + ```elvish 9 + use epm 10 + epm:install &silent-if-installed=$true github.com/ejrichards/mellon 11 + 12 + ``` 13 + 14 + ## NixOS 15 + 16 + `/etc/nixos/flake.nix` 17 + ```nix 18 + { 19 + inputs = { 20 + mellon.url = "github:ejrichards/mellon"; 21 + }; 22 + outputs = { 23 + mellon, 24 + ... 25 + }: 26 + { 27 + ... 28 + nixosConfigurations = { 29 + modules = [ 30 + mellon.nixosModules.default 31 + ]; 32 + }; 33 + } 34 + ``` 35 + 36 + # Usage 37 + 38 + TODO
+11
flake.nix
··· 1 + { 2 + outputs = _: { 3 + nixosModules.default = _: { 4 + environment.etc."mellon/elvish/lib/github.com/ejrichards/mellon/fzf.elv".source = ./fzf.elv; 5 + 6 + environment.variables = { 7 + XDG_DATA_DIRS = "/etc/mellon"; 8 + }; 9 + }; 10 + }; 11 + }