diff options
author | Karel Kočí <cynerd@email.cz> | 2022-07-19 14:03:30 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-07-19 14:03:30 +0200 |
commit | 6cf4d49a8d5514eaa86325e175794c41cbc688c3 (patch) | |
tree | f1e05e927d634a8e7af517817db638ab017ccdf1 | |
parent | 8226f71c349be248f251656a6316c09bbb794557 (diff) | |
download | nixos-personal-6cf4d49a8d5514eaa86325e175794c41cbc688c3.tar.gz nixos-personal-6cf4d49a8d5514eaa86325e175794c41cbc688c3.tar.bz2 nixos-personal-6cf4d49a8d5514eaa86325e175794c41cbc688c3.zip |
Drop heoric and few improvements
-rw-r--r-- | nixos/machine/lipwig.nix | 2 | ||||
-rw-r--r-- | nixos/modules/generic.nix | 6 | ||||
-rw-r--r-- | pkgs/default.nix | 1 | ||||
-rw-r--r-- | pkgs/heroic/default.nix | 37 | ||||
-rw-r--r-- | pkgs/stardict/default.nix | 1 |
5 files changed, 3 insertions, 44 deletions
diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix index aa3d448..0069638 100644 --- a/nixos/machine/lipwig.nix +++ b/nixos/machine/lipwig.nix @@ -8,7 +8,7 @@ with lib; boot.isContainer = true; boot.loader.initScript.enable = true; - cynerd.openvpn.enable = true; + cynerd.openvpn.personal = true; # Git ###################################################################### services.gitolite = { diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 8d34a16..c1458c8 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -31,7 +31,7 @@ with lib; environment.systemPackages = with pkgs; [ git # We need git for this repository to even work # Administration tools - coreutils moreutils psmisc progress lshw file + coreutils moreutils binutils psmisc progress lshw file ldns wget gnumake exfat exfatprogs @@ -53,10 +53,6 @@ with lib; sourceHighlight # Colors for less unrar p7zip zip unzip - # Vim plugins (used for root account) - vimPlugins.vim-nix - vimPlugins.vim-nftables - # Network nmap netcat traceroute iftop nethogs diff --git a/pkgs/default.nix b/pkgs/default.nix index 4ac6ec4..23f4e25 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -26,7 +26,6 @@ let nixpkgs.path + "/pkgs/applications/networking/instant-messengers/franz/generic.nix" ) { }; }; - heroic = callPackage ./heroic { }; }; diff --git a/pkgs/heroic/default.nix b/pkgs/heroic/default.nix deleted file mode 100644 index 5eba770..0000000 --- a/pkgs/heroic/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, fetchurl, appimageTools }: - -let - pname = "heroic"; - version = "2.3.9"; - name = "${pname}-${version}"; - src = fetchurl { - url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/Heroic-${version}.AppImage"; - sha256 = "17jzrh4qqcxvib9bbk2x224xwg67n6z5xsc9978w9vxb04mr0x7d"; - }; - appimageContents = appimageTools.extractType2 { inherit name src; }; - -in appimageTools.wrapType2 { - inherit name version src; - - extraInstallCommands = '' - mv $out/bin/${name} $out/bin/${pname} - - mkdir -p $out/share/${pname} - cp -a ${appimageContents}/locales $out/share/${pname} - cp -a ${appimageContents}/resources $out/share/${pname} - - install -m 444 -D ${appimageContents}/heroic.desktop -t $out/share/applications - - cp -a ${appimageContents}/usr/share/icons $out/share/ - - substituteInPlace $out/share/applications/heroic.desktop \ - --replace 'Exec=AppRun' 'Exec=heroic' - ''; - - meta = with lib; { - description = "A Native GUI Epic Games Launcher for Linux, Windows and Mac"; - homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"; - license = licenses.gpl3Only; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/stardict/default.nix b/pkgs/stardict/default.nix index 03a6b63..e349d61 100644 --- a/pkgs/stardict/default.nix +++ b/pkgs/stardict/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Cross-platform and international dictionary software"; homepage = "http://stardict-4.sourceforge.net/"; + platform = platforms.linux; license = licenses.gpl3; }; } |