summaryrefslogtreecommitdiff
path: root/common/common.nix
blob: 51e4b280dd9ab68eefcd848bcbffecc68169c2df (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
{ 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}"];

  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 inetutils iftop man-pages gitMinimal
  ];

  # Select internationalisation properties.
  console = {
    font = "Lat2-Terminus16";
    keyMap = "de";
  };

}