about summary refs log tree commit diff
path: root/machines/aszlig/managed/tyree.nix
blob: 954e9edfdf390f798abd5473fbfb55f2fab13327 (plain) (blame)
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
{ pkgs, lib, ... }:

{
  boot.initrd.availableKernelModules = [ "usbhid" ];
  boot.kernelModules = [ "kvm-intel" ];

  environment.systemPackages = with pkgs; [ krita mosh wget ];

  fileSystems."/boot".device = "/dev/disk/by-uuid/A0D5-269D";
  fileSystems."/boot".fsType = "vfat";

  fileSystems."/".label = "tyree-root";
  fileSystems."/".fsType = "btrfs";
  fileSystems."/".options = [
    "compress=lzo"
    "discard"
    "noatime"
    "space_cache"
    "ssd"
  ];

  swapDevices = lib.singleton {
    label = "tyree-swap";
  };

  i18n.defaultLocale = "de_DE.UTF-8";

  networking.hostName = "tyree";
  networking.useNetworkd = true;

  nix.maxJobs = 4;

  # English within the shell, German otherwise (like in KDE).
  programs.bash.interactiveShellInit = lib.mkBefore ''
    export LANG=en_US.UTF-8
  '';

  services.xserver.xkbOptions = "eurosign:e,caps:none";
  services.xserver.wacom.enable = true;

  vuizvui.user.aszlig.profiles.managed.enable = true;
  vuizvui.user.aszlig.profiles.managed.mainUser = "bla";

  vuizvui.hardware.t100ha.enable = true;
}