fix container

This commit is contained in:
zuckerberg
2021-06-04 09:02:07 -04:00
parent f315600034
commit 312b1d6fa0
4 changed files with 38 additions and 17 deletions

View File

@@ -33,6 +33,8 @@
wget kakoune htop git dnsutils tmux nethogs iotop
];
nixpkgs.config.allowUnfree = true;
users.mutableUsers = false;
users.users.googlebot = {
isNormalUser = true;

View File

@@ -23,14 +23,6 @@ in {
};
config = lib.mkIf cfg.enable {
# allow specific unfree packages
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"tigervnc" "font-bh-lucidatypewriter" # tigervnc
"steam" "steam-original" "steam-runtime" # TODO move to steam.nix
"discord" # TODO move to discord.nix
"chromium" "chrome-widevine-cdm" "chromium-unwrapped" # widevine support
];
# vulkan
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;

View File

@@ -7,5 +7,8 @@ in {
services.zerotierone.joinNetworks = [
"565799d8f6d654c0"
];
networking.firewall.allowedUDPPorts = [
9993
];
};
}