diff options
author | tv <tv@krebsco.de> | 2016-12-22 20:45:46 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-12-22 20:45:46 +0100 |
commit | 47056b7fb434708f2ea1151317501ea95ebbf8d5 (patch) | |
tree | 458630612ec3db5bdf014318983eff1aa453d330 /lass/2configs/games.nix | |
parent | 11b9f250ad43db043f539d86699c981c81d74c0a (diff) | |
parent | deaef40bdfb1da44c7daf59d2a4b833cb7581730 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/games.nix')
-rw-r--r-- | lass/2configs/games.nix | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lass/2configs/games.nix b/lass/2configs/games.nix index 82b7eb2c9..e7c7de938 100644 --- a/lass/2configs/games.nix +++ b/lass/2configs/games.nix @@ -2,12 +2,16 @@ let mainUser = config.users.extraUsers.mainUser; + vdoom = pkgs.writeDash "vdoom" '' + ${pkgs.zandronum-bin}/bin/zandronum \ + -fov 120 \ + "$@" + ''; doom = pkgs.writeDash "doom" '' DOOM_DIR=''${DOOM_DIR:-~/doom/} - ${pkgs.zandronum}/bin/zandronum \ + ${vdoom} \ -file $DOOM_DIR/lib/brutalv20.pk3 \ -file $DOOM_DIR/lib/RebotStarcraftMarines.pk3 \ - -fov 120 \ "$@" ''; doom1 = pkgs.writeDashBin "doom1" '' @@ -18,12 +22,22 @@ let DOOM_DIR=''${DOOM_DIR:-~/doom/} ${doom} -iwad $DOOM_DIR/wads/stock/doom2.wad "$@" ''; + vdoom1 = pkgs.writeDashBin "vdoom1" '' + DOOM_DIR=''${DOOM_DIR:-~/doom/} + ${vdoom} -iwad $DOOM_DIR/wads/stock/doom.wad "$@" + ''; + vdoom2 = pkgs.writeDashBin "vdoom2" '' + DOOM_DIR=''${DOOM_DIR:-~/doom/} + ${vdoom} -iwad $DOOM_DIR/wads/stock/doom2.wad "$@" + ''; in { environment.systemPackages = with pkgs; [ dwarf_fortress doom1 doom2 + vdoom1 + vdoom2 ]; users.extraUsers = { |