added gitea

This commit is contained in:
willifan 2024-07-28 10:16:48 +02:00
parent 6a3f97cebb
commit 7c9883774f
5 changed files with 35 additions and 16 deletions

View file

@ -5,6 +5,7 @@
./disko.nix
./data.nix
./gitea.nix
./hardware-configuration.nix
];

17
hosts/Anton/gitea.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, pkgs-unstable, ... }:
{
services.gitea = {
enable = true;
package = pkgs-unstable.gitea;
stateDir = "/mnt/data/services/gitea";
settings = {
server = {
DOMAIN = "git.huwe.mooo.com";
HTTP_PORT = 3000;
};
};
};
}

View file

@ -5,5 +5,10 @@
./garbage-collect.nix
./optimise.nix
];
networking.networkmanager.enable = true;
console.keyMap = "de";
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "23.11";
}
}

View file

@ -10,8 +10,4 @@
hardware.bluetooth.enable = true;
services.hardware.bolt.enable = true;
networking.networkmanager.enable = true;
console.keyMap = "de";
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}
}