Another attempt.

This commit is contained in:
Root User 2026-02-06 22:04:27 +01:00
parent 6e399b829a
commit 29825b745d
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 21 additions and 21 deletions

View file

@ -31,6 +31,18 @@ in {
};
};
imports = [
# ./secrets/secrets.nix # Add this locally after running add-secrets.zsh
# Optionally import local secrets if present (won't fail if missing)
(lib.optional (builtins.pathExists ./secrets/secrets.nix) ./secrets/secrets.nix)
./modules/desktop-manager/sway_greetd_homemanager.nix
./modules/local/hostname_username.nix
./modules/local/networking_local.nix
./modules/toolsets/remote_building.nix
./modules/bootloader/seabios.nix
./modules/lix-default.nix
];
config = {
local.hostname = "forgejoprg";
local.username = "forgejoprg";
@ -94,18 +106,6 @@ in {
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [3000];
imports = [
# ./secrets/secrets.nix # Add this locally after running add-secrets.zsh
# Optionally import local secrets if present (won't fail if missing)
(lib.optional (builtins.pathExists ./secrets/secrets.nix) ./secrets/secrets.nix)
./modules/desktop-manager/sway_greetd_homemanager.nix
./modules/local/hostname_username.nix
./modules/local/networking_local.nix
./modules/toolsets/remote_building.nix
./modules/bootloader/seabios.nix
./modules/lix-default.nix
];
system.stateVersion = "25.11";
};
}

View file

@ -27,6 +27,15 @@
};
};
imports = [
./modules/desktop-manager/sway_greetd_homemanager.nix
./modules/local/hostname_username.nix
./modules/local/networking_local.nix
./modules/bootloader/seabios.nix
./modules/lix-default.nix
# Optionally: ./modules/toolsets/remote_building.nix
];
config = {
local.hostname = "nixos-traefik";
local.username = "traefikprg";
@ -112,15 +121,6 @@
networking.firewall.allowedTCPPorts = [80 443];
networking.firewall.allowedUDPPorts = [80 443];
imports = [
./modules/desktop-manager/sway_greetd_homemanager.nix
./modules/local/hostname_username.nix
./modules/local/networking_local.nix
./modules/bootloader/seabios.nix
./modules/lix-default.nix
# Optionally: ./modules/toolsets/remote_building.nix
];
system.stateVersion = "25.11";
};
}