Alejandra'd repo, added better dry run script.
All checks were successful
Build Nix modules (dry-run) / build-modules (push) Successful in 3m32s

This commit is contained in:
Root User 2026-02-12 20:11:30 +01:00
parent 32cf42d11d
commit 387fb668b3
Signed by: root
GPG key ID: 087F0A95E5766D72
11 changed files with 101 additions and 64 deletions

View file

@ -13,7 +13,6 @@
fsType = "ext4";
};
};
in {
options.local = {
hostname = lib.mkOption {
@ -38,14 +37,16 @@ in {
};
};
imports = [
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
(choose [ ./modules/secrets-config/sops-build-machine.nix ../secrets-config/sops-build-machine.nix ])
## TODO: Make this more elegant and less risky for unexpected errors happening.
] ++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix
++ lib.optional (!builtins.pathExists ./hardware-configuration.nix) dummyFileSystems;
imports =
[
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
(choose [./modules/lix-default.nix ../lix-default.nix])
(choose [./modules/secrets-config/sops-build-machine.nix ../secrets-config/sops-build-machine.nix])
## TODO: Make this more elegant and less risky for unexpected errors happening.
]
++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix
++ lib.optional (!builtins.pathExists ./hardware-configuration.nix) dummyFileSystems;
config = {
# Local metadata
@ -173,14 +174,13 @@ in {
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# Enable Podman for Gitea Actions Runner
# Enable Podman for Gitea Actions Runner
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
# Network configuration for the build machine on the Proxmox bridge
networking.interfaces.ens18.ipv4.addresses = [
{