Alejandra'd repo, added better dry run script.
All checks were successful
Build Nix modules (dry-run) / build-modules (push) Successful in 3m32s
All checks were successful
Build Nix modules (dry-run) / build-modules (push) Successful in 3m32s
This commit is contained in:
parent
32cf42d11d
commit
387fb668b3
11 changed files with 101 additions and 64 deletions
|
|
@ -30,11 +30,11 @@ in {
|
|||
};
|
||||
|
||||
imports = lib.filter (x: x != null) [
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [ ./modules/secrets-config/sops-the-blank-system.nix ../secrets-config/sops-the-blank-system.nix ])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
(choose [./modules/secrets-config/sops-the-blank-system.nix ../secrets-config/sops-the-blank-system.nix])
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -30,16 +30,16 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
# Optionally: (choose [ ./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix ])
|
||||
|
||||
## Compose modules for Portainer service
|
||||
(choose [ ./modules/songsheet/wavelog/docker-compose.nix ../songsheet/wavelog/docker-compose.nix ])
|
||||
(choose [ ./modules/secrets-config/sops-composesongsheet.nix ../secrets-config/sops-composesongsheet.nix ])
|
||||
(choose [./modules/songsheet/wavelog/docker-compose.nix ../songsheet/wavelog/docker-compose.nix])
|
||||
(choose [./modules/secrets-config/sops-composesongsheet.nix ../secrets-config/sops-composesongsheet.nix])
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -29,16 +29,18 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/gnome.nix ../desktop-manager/gnome.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [ ./modules/secrets-config/sops-database.nix ../secrets-config/sops-database.nix ])
|
||||
(choose [ ./modules/system_scripts/gcloud_backup.nix ../system_scripts/gcloud_backup.nix ])
|
||||
## TODO: Make this more elegant and less risky for unexpected errors happening.
|
||||
] ++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix;
|
||||
imports =
|
||||
[
|
||||
(choose [./modules/desktop-manager/gnome.nix ../desktop-manager/gnome.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
(choose [./modules/secrets-config/sops-database.nix ../secrets-config/sops-database.nix])
|
||||
(choose [./modules/system_scripts/gcloud_backup.nix ../system_scripts/gcloud_backup.nix])
|
||||
## TODO: Make this more elegant and less risky for unexpected errors happening.
|
||||
]
|
||||
++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix;
|
||||
|
||||
config = {
|
||||
local.hostname = "nixosdd";
|
||||
|
|
|
|||
|
|
@ -33,12 +33,12 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-proxmox-at-birth.nix ../bootloader/seabios-assigned-proxmox-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-proxmox-at-birth.nix ../bootloader/seabios-assigned-proxmox-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -30,15 +30,15 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
# Optionally: (choose [ ./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix ])
|
||||
## Compose modules for Portainer service
|
||||
(choose [ ./modules/songsheet/wavelog/docker-compose.nix ../songsheet/wavelog/docker-compose.nix ])
|
||||
(choose [ ./modules/secrets-config/sops-composesongsheet.nix ../secrets-config/sops-composesongsheet.nix ])
|
||||
(choose [./modules/songsheet/wavelog/docker-compose.nix ../songsheet/wavelog/docker-compose.nix])
|
||||
(choose [./modules/secrets-config/sops-composesongsheet.nix ../secrets-config/sops-composesongsheet.nix])
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -30,11 +30,11 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
# Optionally: (choose [ ./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix ])
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -30,12 +30,12 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
(choose [ ./modules/secrets-config/sops-wireguard.nix ../secrets-config/sops-wireguard.nix ])
|
||||
(choose [./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix])
|
||||
(choose [./modules/local/hostname_username.nix ../local/hostname_username.nix])
|
||||
(choose [./modules/local/networking_local.nix ../local/networking_local.nix])
|
||||
(choose [./modules/bootloader/seabios-assigned-iso-at-birth.nix ../bootloader/seabios-assigned-iso-at-birth.nix])
|
||||
(choose [./modules/lix-default.nix ../lix-default.nix])
|
||||
(choose [./modules/secrets-config/sops-wireguard.nix ../secrets-config/sops-wireguard.nix])
|
||||
# Optionally to enable remote building: ./modules/toolsets/remote_building.nix
|
||||
#./modules/songsheet/wavelog/docker-compose.nix
|
||||
#./modules/secrets-config/sops-the-blank-system.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue