delete some gaming

This commit is contained in:
Dmitriy Holkin 2020-01-23 02:16:20 +04:00
parent 090f4c1cc1
commit 58f6b92bc3
4 changed files with 10 additions and 1 deletions

View File

@ -94,6 +94,7 @@ in {
steam steam
steam-run steam-run
protontricks protontricks
retroarch
]; ];
} }

View File

@ -95,4 +95,12 @@
# enableExtensionPack = true; # enableExtensionPack = true;
# }; # };
# Install cdemu for some gaming purposes
programs.cdemu = {
enable = true;
image-analyzer = false;
gui = false;
group = "cdrom";
};
} }

View File

@ -19,6 +19,7 @@
"input" "input"
"vboxusers" "vboxusers"
"smbgrp" "smbgrp"
"cdrom"
]; ];
description = "Дмитрий Холкин"; description = "Дмитрий Холкин";
uid = 1000; uid = 1000;

View File

@ -1,5 +1,4 @@
{ curl, ... }: '' { curl, ... }: ''
#!/usr/bin/env bash
API="$(${curl} https://am.i.mullvad.net/connected)" API="$(${curl} https://am.i.mullvad.net/connected)"
if [[ $(echo "$API" | awk -F'[ ()]+' '{print $6}') = 'server' ]]; then if [[ $(echo "$API" | awk -F'[ ()]+' '{print $6}') = 'server' ]]; then
echo $(echo "$API" | awk -F'[ ()]+' '{print $7}') echo $(echo "$API" | awk -F'[ ()]+' '{print $7}')