config/hosts/nixos/brumlebasse/configuration.nix

38 lines
944 B
Nix
Raw Normal View History

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
2023-10-14 18:31:23 +02:00
../../../users/pbsds
2023-10-14 18:31:23 +02:00
../../../profiles/shell.nix
2023-10-14 18:31:23 +02:00
#../../../profiles/domeneshop-dyndns.nix
../../../profiles/known-hosts.nix
2023-10-14 18:31:23 +02:00
];
#services.domeneshop-updater.targets = [ config.networking.fqdn ];
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;
}