35 lines
804 B
Nix
35 lines
804 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
# Bootloader
|
|
#N/A
|
|
|
|
## 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";
|
|
#};
|
|
|
|
imports = [
|
|
#./hardware-configuration.nix
|
|
../../profiles/sshd.nix
|
|
|
|
../../users/pbsds
|
|
|
|
../../profiles/shell.nix
|
|
|
|
#../../profiles/domeneshop-dyndns
|
|
];
|
|
#services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
|
|
|
services.openssh.enable = true;
|
|
services.openssh.ports = lib.mkForce [ 2222 ];
|
|
networking.firewall.allowedTCPPorts = [ 2222 ];
|
|
|
|
# Networking
|
|
networking.networkmanager.enable = true;
|
|
|
|
# TODO: remove? Move?
|
|
programs.dconf.enable = true;
|
|
}
|