blob: b26009f63a6a0fe9a4f4a8eba0bbed917c5f90b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ config, lib, pkgs, inputs, ... }:
{
nix.registry = {
nixpkgs.flake = inputs.nixpkgs;
unstable.flake = inputs.nixpkgs-unstable;
};
nix.package = pkgs.lix;
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
# '';
}
|