{ config, lib, pkgs, inputs, ... }: { nix.registry = { nixpkgs.flake = inputs.nixpkgs; unstable.flake = inputs.nixpkgs-unstable; }; nix.nixPath = lib.mkForce [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-unstable}"]; nix.extraOptions = '' experimental-features = nix-command flakes ''; services.journald.extraConfig = "MaxRetentionSec=48h"; i18n.defaultLocale = "en_IE.UTF-8"; i18n.supportedLocales = [ "de_DE.UTF-8/UTF-8" "en_IE.UTF-8/UTF-8" ]; time.timeZone = "Europe/Amsterdam"; environment.systemPackages = with pkgs; [ wget vim htop-vim dnsutils iputils iftop man-pages gitMinimal ]; console = { font = "Lat2-Terminus16"; useXkbConfig = true; colors = [ "002b36" "dc322f" "859900" "b58900" "268bd2" "d33682" "2aa198" "eee8d5" "002b36" "cb4b16" "586e75" "657b83" "839496" "6c71c4" "93a1a1" "fdf6e3" ]; }; # we don't actually use the x server, but the console / tty keyboard # settings will be derived from this services.xserver.xkb.layout = "de"; services.xserver.xkb.options = "caps:escape"; documentation = { dev.enable = true; man.generateCaches = true; nixos.includeAllModules = true; nixos.options.warningsAreErrors = false; }; # to be uncommented in case the domain is messed up again # networking.extraHosts = '' # 135.181.111.190 stuebinm.eu flora.stuebinm.eu mail.stuebinm.eu chat.stuebinm.eu picarones.stuebinm.eu pleroma.stuebinm.eu registry.stuebinm.eu # 2a01:4f9:c010:df15::1 stuebinm.eu flora.stuebinm.eu mail.stuebinm.eu chat.stuebinm.eu picarones.stuebinm.eu pleroma.stuebinm.eu registry.stuebinm.eu # 95.217.159.23 chaski.stuebinm.eu cards.stuebinm.eu tracktrain.stuebinm.eu # 2a01:4f9:c010:69ed::1 chaski.stuebinm.eu cards.stuebinm.eu tracktrain.stuebinm.eu # ''; }