Fixed android studio startup

This commit is contained in:
Tim Schubert 2022-02-23 18:43:24 +01:00
parent dbc36bb08f
commit 3a8339638f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{ pkgs }:
with pkgs; [
ag
androidStudioPackages.stable
anki
aspell
aspellDicts.de

View file

@ -21,7 +21,7 @@ in
post-build-hook = ${signHook}
'';
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_5_15;
boot.kernelModules = [ "kvm-amd" ];
@ -133,6 +133,33 @@ in
];
};
#networking.wireguard.interfaces.mullvad = {
# ips = [ "10.68.15.202/32" "fc00:bbbb:bbbb:bb01::5:fc9/128" ];
# privateKeyFile = "/var/lib/wireguard/mullvad";
# peers = [
# {
# publicKey = "BLNHNoGO88LjV/wDBa7CUUwUzPq/fO2UwcGLy56hKy4=";
# allowedIPs = [ "0.0.0.0/0" "::0/0" ];
# endpoint = "193.27.14.98:3152";
# persistentKeepalive = 25;
# }
# ];
#};
networking.wg-quick.interfaces.mullvad = {
address = [ "10.68.15.202/32" "fc00:bbbb:bbbb:bb01::5:fc9/128" ];
privateKeyFile = "/var/lib/wireguard/mullvad";
peers = [
{
publicKey = "BLNHNoGO88LjV/wDBa7CUUwUzPq/fO2UwcGLy56hKy4=";
allowedIPs = [ "0.0.0.0/0" "::0/0" ];
endpoint = "193.27.14.98:3152";
persistentKeepalive = 25;
}
];
postUp = "${pkgs.iproute2}/bin/ip rule add to 193.27.14.98 lookup main";
};
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [