Compare commits

..

No commits in common. "8a861f04238f06eb48eae650faa9e4f1fb8a0704" and "fe43be7e3ba5c868f5bda21bdb260bbf0c40a7a1" have entirely different histories.

6 changed files with 5 additions and 40 deletions

View file

@ -32,8 +32,8 @@
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = import nixpkgs { system = "x86_64-linux"; config = { allowUnfree = true; }; };
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; config = { allowUnfree = true; }; };
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
in
{
nixosConfigurations = {

View file

@ -9,8 +9,6 @@
./firewall.nix
./gitea.nix
./hardware-configuration.nix
./invidious.nix
./minecraft.nix
./radicale.nix
./syncthing.nix

View file

@ -2,7 +2,7 @@
{
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 3000 3001 8384 ];
allowedTCPPorts = [ 22 80 443 3000 8384 ];
allowedUDPPorts = [ 22 80 443 ];
};
}

View file

@ -1,23 +0,0 @@
{ pkgs, lib, ... }:
{
services.invidious = {
enable = true;
port = 3001;
settings = {
db = {
user = lib.mkForce "invidious";
# password = lib.mkForce "invidious";
# host = lib.mkForce "localhost";
# port = 5432;
# dbname = lib.mkForce "invidious";
};
popular_enabled = false;
quality = "dash";
volume = 10;
save_player_pos = true;
unseen_only = true;
local = true;
};
};
}

View file

@ -1,11 +0,0 @@
{ pkgs, pkgs-unstable, ...}:
{
services.minecraft-server = {
eula = true;
enable = true;
package = pkgs-unstable.minecraft-server;
jvmOpts = "-Xms4096M -Xmx8192M";
dataDir = "/mnt/data/services/minecraft";
openFirewall = true;
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, hostname, ... }:
{ pkgs, hostname, ... }:
{
imports = [
./autoupdate.nix
@ -11,6 +11,7 @@
hostName = "${hostname}";
};
console.keyMap = "de";
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "23.11";
}