diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-10-03 22:05:36 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-10-04 18:54:45 -0700 |
| commit | bb585fb98b80729ce3ebc930b14c6cbab4acbabf (patch) | |
| tree | 3be9ac16870832dc20c66d11c7da570c04da510d /machines | |
| parent | fd81b9bd38f3ce5fbaa75b402ea23f8587e399f1 (diff) | |
| download | depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.tar.gz depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.tar.bz2 depot-bb585fb98b80729ce3ebc930b14c6cbab4acbabf.zip | |
bump nixpkgs again and fix other flake refs
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/feneri.nix | 33 | ||||
| -rw-r--r-- | machines/t1.nix | 1 |
2 files changed, 30 insertions, 4 deletions
diff --git a/machines/feneri.nix b/machines/feneri.nix index e75738b..605159e 100644 --- a/machines/feneri.nix +++ b/machines/feneri.nix @@ -1,9 +1,7 @@ -{ flake, modulesPath, ... }: +{ config, modulesPath, ... }: { imports = [ - # flake.outputs.nixosModules.disk - # flake.outputs.nixosModules.network (modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/virtualisation/qemu-guest-agent.nix") ]; @@ -44,5 +42,32 @@ }; }; - networking.hostName = "feneri"; + services.hydra = { + enable = true; + hydraURL = "https://hydra.web.4kb.net"; + notificationSender = "hydra@localhost"; + buildMachinesFiles = []; + useSubstitutes = true; + }; + + services.nginx.virtualHosts."hydra.web.4kb.net" = { + useACMEHost = "4kb.net"; + forceSSL = true; + + locations."/".proxyPass = "http://localhost:${toString config.services.hydra.port}"; + }; + + nix.settings.allowed-uris = [ + "git+https://github.com/NixOS/nixpkgs/" + "https://channels.nixos.org/" + "https://releases.nixos.org/nixos/" + ]; + + systemd.services.hydra-notify.enable = false; + + networking = { + hostName = "feneri"; + domain = "4kb.net"; + useDHCP = false; + }; } diff --git a/machines/t1.nix b/machines/t1.nix index d8d749b..3a46494 100644 --- a/machines/t1.nix +++ b/machines/t1.nix @@ -19,6 +19,7 @@ desktop.enable = true; users.kle.enable = true; net = { + enable = true; v6Token = "::beef"; sshd.enable = true; sshd.publish = true; |
