summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-28 20:30:55 +0200
committerAlan Pearce2019-09-28 22:19:03 +0200
commita9aea15a7f3dfd93fa17b41bc1492b3010bd5dcb (patch)
tree445d8ea569a2b8c19ae8efcc0bb662ba8e9d463d
parentc7946cd972c5d06e4d3c2912cf6ec7ca18c68327 (diff)
downloadnixos-configuration-a9aea15a7f3dfd93fa17b41bc1492b3010bd5dcb.tar.lz
nixos-configuration-a9aea15a7f3dfd93fa17b41bc1492b3010bd5dcb.tar.zst
nixos-configuration-a9aea15a7f3dfd93fa17b41bc1492b3010bd5dcb.zip
Setup prefect machine
-rw-r--r--prefect.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/prefect.nix b/prefect.nix
index 0a8c8b3..7b53102 100644
--- a/prefect.nix
+++ b/prefect.nix
@@ -3,6 +3,7 @@
 { imports = [
     ./hardware-configuration.nix
 
+    ./modules/base.nix
     ./modules/configuration/berlin.nix
     ./modules/configuration/british-english.nix
     ./modules/configuration/nix.nix
@@ -10,27 +11,39 @@
     ./modules/development/base.nix
     ./modules/development/javascript.nix
     ./modules/development/lisp.nix
-    ./modules/hardware/adb.nix
     ./modules/hardware/audio.nix
     ./modules/hardware/bare-metal.nix
-    ./modules/user-interface.nix
-    ./modules/hardware/nitrokey.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/dotfiles.nix
+    ./modules/programs/gnupg.nix
+    ./modules/programs/keybase.nix
     ./modules/programs/i3.nix
     ./modules/programs/infrastructure.nix
     ./modules/programs/passwords.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 = "alanpearce.eu";
   };
 
-  system.stateVersion = "17.09";
+  system.stateVersion = "19.03";
 }