diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nomic/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/nomic/default.nix b/modules/nomic/default.nix index 61310b392..e9d1bfc69 100644 --- a/modules/nomic/default.nix +++ b/modules/nomic/default.nix @@ -55,6 +55,24 @@ in "net.ipv6.conf.default.use_tempaddr" = 2; }; + environment.systemPackages = with pkgs; [ + (writeScriptBin "play" '' + #! /bin/sh + set -euf + mpv() { ${mpv}/bin/mpv "$@"; } + case $1 in + deepmix) mpv http://deepmix.ru/deepmix128.pls;; + groovesalad) mpv http://somafm.com/play/groovesalad;; + ntslive) mpv http://listen2.ntslive.co.uk/listen.pls;; + *) + echo "$0: bad argument: $*" >&2 + exit 23 + esac + '') + rxvt_unicode.terminfo + tmux + ]; + networking = { hostName = "nomic"; wireless.enable = true; |