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

{ imports = [
    ./hardware-configuration.nix

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

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

  system.stateVersion = "19.03";
}