39 lines
958 B
Nix
39 lines
958 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/auto-upgrade.nix
|
|
../../profiles/upgrade-diff.nix
|
|
../../profiles/sshd.nix
|
|
|
|
../../users/pbsds
|
|
|
|
../../profiles/shell/base.nix
|
|
../../profiles/shell/archives.nix
|
|
../../profiles/shell/nix-utils.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;
|
|
}
|