summary refs log tree commit diff stats
path: root/system/prefect.nix
blob: 916477d3afc41f740b287e88ded79c0cfc24acc8 (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, pkgs, ... }:

{ imports = [
    ./hardware-configuration.nix

    ./settings/satoshipay.nix
    ./settings/base.nix
    ./settings/configuration/berlin.nix
    ./settings/configuration/british-english.nix
    ./settings/configuration/nix.nix
    ./settings/configuration/user.nix
    ./settings/hardware/audio.nix
    ./settings/hardware/bare-metal.nix
    ./settings/hardware/mouse.nix
    ./settings/hardware/systemd-boot.nix
    ./settings/hardware/nvidia-gpu.nix
    ./settings/hardware/qwerty.nix
    ./settings/hardware/trezor.nix
    ./settings/services/zeroconf.nix
    ./settings/user-interface.nix
    ./settings/programs/accounting.nix
    ./settings/programs/gnupg.nix
    ./settings/programs/keybase.nix
    ./settings/programs/i3.nix
    ./settings/programs/infrastructure.nix
    ./settings/programs/shell.nix
    ./settings/gaming.nix
    ./settings/programs/tor.nix
    ./settings/programs/barrier.nix
    ./settings/services/syncthing.nix
  ];
  boot.loader.efi.canTouchEfiVariables = pkgs.lib.mkForce false;
  services.xserver.screenSection = ''
    Option "MetaModes" "2560x1440_120"
  '';

  services.xserver = {
    displayManager.lightdm.autoLogin = {
      enable = true;
      user = "alan";
    };
    xautolock.enable = pkgs.lib.mkForce false;
  };

  powerManagement.enable = false;
  # powerManagement.cpuFreqGovernor = "performance";
  networking = {
    hostName = "prefect";
    domain = pkgs.lib.mkForce "alanpearce.eu";
  };

  system.stateVersion = "19.09";
}