2023-03-01 02:05:51 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
2023-03-01 02:21:24 +01:00
|
|
|
# Bootloader
|
2023-03-04 01:42:05 +01:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
|
|
|
2023-03-01 02:05:51 +01:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2023-06-24 19:11:49 +02:00
|
|
|
../../profiles/auto-upgrade.nix
|
2023-07-19 21:59:13 +02:00
|
|
|
../../profiles/upgrade-diff.nix
|
2023-07-04 16:28:27 +02:00
|
|
|
../../profiles/sshd.nix
|
2023-03-01 02:05:51 +01:00
|
|
|
|
|
|
|
../../users/pbsds
|
2023-08-27 03:14:01 +02:00
|
|
|
../../users/daniel
|
2023-03-01 02:05:51 +01:00
|
|
|
|
2023-03-12 05:14:28 +01:00
|
|
|
../../profiles/shell/base.nix
|
|
|
|
../../profiles/shell/archives.nix
|
|
|
|
../../profiles/shell/nix-utils.nix
|
2023-07-07 18:11:35 +02:00
|
|
|
#../../profiles/shell/binfmt-emu.nix # qemu won't compile...
|
2023-03-01 02:05:51 +01:00
|
|
|
|
2023-11-10 22:54:07 +01:00
|
|
|
../../profiles/domeneshop-dyndns
|
2023-03-01 02:05:51 +01:00
|
|
|
#../../profiles/code-remote
|
2023-03-12 05:14:28 +01:00
|
|
|
#../../profiles/remote-builders
|
2023-03-01 02:05:51 +01:00
|
|
|
#../../profiles/autossh-reverse-tunnels
|
|
|
|
];
|
2023-10-14 18:23:24 +02:00
|
|
|
services.domeneshop-updater.targets = [ config.networking.fqdn ];
|
2023-03-01 02:05:51 +01:00
|
|
|
|
|
|
|
# Networking
|
|
|
|
networking.networkmanager.enable = true;
|
2023-07-07 17:48:49 +02:00
|
|
|
|
2023-03-02 22:26:07 +01:00
|
|
|
/** /
|
2023-03-01 02:05:51 +01:00
|
|
|
#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; }
|
|
|
|
];
|
2023-03-02 22:26:07 +01:00
|
|
|
networking.defaultGateway.address = "192.241.104.1";
|
|
|
|
networking.defaultGateway.interface = "eno1";
|
2023-03-01 02:05:51 +01:00
|
|
|
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"
|
|
|
|
];
|
2023-03-02 22:26:07 +01:00
|
|
|
/**/
|
2023-03-01 02:05:51 +01:00
|
|
|
|
|
|
|
# Installed system packages
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
cage
|
2023-03-12 05:14:28 +01:00
|
|
|
weston
|
2023-03-01 02:05:51 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: remove? Move?
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
}
|