2023-10-25 19:57:12 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
# Bootloader
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../profiles/sshd.nix
|
|
|
|
|
|
|
|
../../users/pbsds
|
|
|
|
|
2024-01-10 21:39:55 +01:00
|
|
|
../../profiles/mounts/panorama-zfs.nix
|
|
|
|
|
2023-10-25 19:57:12 +02:00
|
|
|
../../profiles/shell/base.nix
|
|
|
|
../../profiles/shell/archives.nix
|
|
|
|
../../profiles/shell/nix-utils.nix
|
|
|
|
#../../profiles/shell/binfmt-emu.nix # qemu won't compile...
|
|
|
|
|
2024-02-11 05:00:48 +01:00
|
|
|
../../profiles/domeneshop-dyndns
|
2023-10-25 19:57:12 +02:00
|
|
|
#../../profiles/code-remote
|
|
|
|
#../../profiles/remote-builders
|
|
|
|
#../../profiles/autossh-reverse-tunnels
|
|
|
|
];
|
|
|
|
services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
|
|
|
|
2024-01-10 21:39:55 +01:00
|
|
|
networking.hostId = "43c43ded"; # needed for zfs: head -c 8 /etc/machine-id
|
|
|
|
|
2023-10-25 19:57:12 +02:00
|
|
|
# Networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
networking.nameservers = [
|
2023-11-21 00:39:09 +01:00
|
|
|
"2001:700:1:11::2:51" # dns64.uninett.no
|
|
|
|
#"129.241.0.200"
|
|
|
|
#"129.241.0.201"
|
2024-02-22 09:25:58 +01:00
|
|
|
#"2001:700:300::200"
|
|
|
|
#"2001:700:300::201"
|
2023-10-25 19:57:12 +02:00
|
|
|
];
|
|
|
|
|
2023-12-03 20:53:03 +01:00
|
|
|
networking.networkmanager.insertNameservers = config.networking.nameservers; # wtf
|
|
|
|
|
2023-10-25 19:57:12 +02:00
|
|
|
# TODO: remove? Move?
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
}
|