2023-10-14 18:31:23 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
# Bootloader
|
2024-01-31 22:17:55 +01:00
|
|
|
#N/A
|
2023-10-14 18:31:23 +02:00
|
|
|
|
2024-01-31 22:17:55 +01:00
|
|
|
## gated on formatAttr which is set by nixos-generators
|
|
|
|
#boot = lib.mkIf ((config.formatAttr or null) == null) {
|
|
|
|
# loader.systemd-boot.enable = true;
|
|
|
|
# loader.efi.canTouchEfiVariables = true;
|
|
|
|
# loader.efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
#};
|
2023-10-14 18:31:23 +02:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
#./hardware-configuration.nix
|
|
|
|
../../profiles/sshd.nix
|
|
|
|
|
|
|
|
../../users/pbsds
|
|
|
|
|
2024-03-26 18:27:48 +01:00
|
|
|
../../profiles/shell.nix
|
2023-10-14 18:31:23 +02:00
|
|
|
|
2023-11-10 22:54:07 +01:00
|
|
|
#../../profiles/domeneshop-dyndns
|
2024-07-31 21:35:42 +02:00
|
|
|
../../profiles/remote-builders.nix
|
2023-10-14 18:31:23 +02:00
|
|
|
];
|
|
|
|
#services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
|
|
|
|
2024-08-16 23:46:54 +02:00
|
|
|
nix.settings.max-jobs = 0; # remotes only lol, nspawn container has broken sandbox
|
|
|
|
|
2024-01-31 22:17:55 +01:00
|
|
|
services.openssh.enable = true;
|
|
|
|
services.openssh.ports = lib.mkForce [ 2222 ];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 2222 ];
|
|
|
|
|
2023-10-14 18:31:23 +02:00
|
|
|
# Networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
# TODO: remove? Move?
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
}
|