summary refs log tree commit diff stats
path: root/hosts/thinklappi-bootstrap/default.nix
blob: 10ed8efb5d7152bad3367bea47cf5445f7c201f2 (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
46
{
  config,
  pkgs,
  ...
}: {
  imports = [
    ./basesystem.nix
    ../../sys/users
  ];

  hardware = {
    opengl.enable = true;
    bluetooth.enable = true;
    pulseaudio.enable = false;
  };

  virtualisation.waydroid.enable = true; # Android emulation

  security = {
    rtkit.enable = true;
    pam.services.swaylock = {};
  };

  environment.systemPackages = [
    pkgs.xorg.xkbcomp
    pkgs.neovim
    pkgs.git
  ];

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

  networking = {
    hostName = "thinklappi";
    #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"];
    networkmanager = {
      enable = true;
      #dns = "none";
    };
  };

  time.timeZone = "Europe/Berlin";

  programs.ssh.startAgent = true;

  system.stateVersion = "23.05";
}