Overhaul
This commit is contained in:
parent
b89303566a
commit
f9132abd53
12 changed files with 332 additions and 30 deletions
32
hosts/homelab/configuration.nix
Normal file
32
hosts/homelab/configuration.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
outputs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../shared
|
||||
../../modules/forgejo
|
||||
../../modules/nginx
|
||||
../../modules/grafana
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Brussels";
|
||||
|
||||
networking = {
|
||||
hostName = "homelab";
|
||||
|
||||
firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue