From 3e1692f454f35f3959eeca330cb4b2181283215e Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 30 Jul 2025 16:24:31 +0200 Subject: [PATCH] feat: adds `hazel` host --- hosts/hazel/default.nix | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 hosts/hazel/default.nix diff --git a/hosts/hazel/default.nix b/hosts/hazel/default.nix new file mode 100644 index 0000000..03a0fad --- /dev/null +++ b/hosts/hazel/default.nix @@ -0,0 +1,48 @@ +{ + pkgs, + config, + lib, + inputs, + ... +}: +{ + imports = [ + ./hardware-configuration.nix + ./disko.nix + ./../../modules/core/default.server.nix + # ./../../modules/services/hazel.nix + ]; + + networking.hostName = "hazel"; + + nixpkgs.config.permittedInsecurePackages = [ + "jitsi-meet-1.0.8043" + "olm-3.2.16" + ]; + + time.timeZone = lib.mkForce "Europe/Paris"; + + environment.systemPackages = with pkgs; [ + kitty.terminfo + ]; + + services = { + smartd = { + enable = true; + autodetect = true; + }; + }; + + networking.firewall = { + allowedTCPPorts = [ + 9123 + ]; + }; + + boot = { + loader.grub = { + enable = true; + device = "/dev/sda"; + }; + }; +}