53 lines
1.3 KiB
Nix
53 lines
1.3 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
# Bootloader
|
|
|
|
# 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/shell/binfmt-emu.nix # qemu won't compile...
|
|
|
|
#../../profiles/domeneshop-dyndns
|
|
];
|
|
#services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
|
|
|
# Networking
|
|
networking.networkmanager.enable = true;
|
|
|
|
/** /
|
|
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
#networking.iwd.enable = true
|
|
networking.interfaces.eno1.ipv4.addresses = [
|
|
{ address = "129.241.105.252"; prefixLength = 23; }
|
|
];
|
|
networking.defaultGateway.address = "192.241.104.1";
|
|
networking.defaultGateway.interface = "eno1";
|
|
networking.nameservers = [
|
|
"129.241.0.200"
|
|
"129.241.0.201"
|
|
#"2001:700:300::200"
|
|
#"2001:700:300::201"
|
|
"8.8.8.8"
|
|
"1.1.1.1"
|
|
];
|
|
/**/
|
|
|
|
# TODO: remove? Move?
|
|
programs.dconf.enable = true;
|
|
}
|