all repos — archive/nixos-configuration @ ee10aadfcfaf1aaf4e0394210ba0629920881406

Superseded by nixfiles

Add base configuration for prefect

Alan Pearce
commit

ee10aadfcfaf1aaf4e0394210ba0629920881406

parent

90267cf07027564be14043edf72bbe622efc76d8

3 files changed, 59 insertions(+), 0 deletions(-)

jump to
A modules/hardware/mouse.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }: + +{ services.xserver.config = '' + Section "InputClass" + Identifier "Mouse (No Acceleration)" + MatchIsPointer "yes" + MatchIsTouchpad "no" + Option "AccelerationProfile" "-1" + Option "AccelerationScheme" "none" + EndSection + ''; +}
A modules/hardware/nvidia-gpu.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }: + +{ services.xserver.videoDrivers = [ "nvidia" ]; + hardware.opengl.driSupport32Bit = true; + nixpkgs.config.allowUnfree = true; +}
A prefect.nix
@@ -0,0 +1,41 @@
+{ config, pkgs, ... }: + +{ imports = [ + ./hardware-configuration.nix + + ./modules/configuration/berlin.nix + ./modules/configuration/british-english.nix + ./modules/configuration/nix.nix + ./modules/configuration/user.nix + ./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/colemak.nix + ./modules/hardware/nitrokey.nix + ./modules/hardware/mouse.nix + ./modules/hardware/systemd-boot.nix + ./modules/hardware/nvidia-gpu.nix + ./modules/programs/accounting.nix + ./modules/programs/dotfiles.nix + ./modules/programs/i3.nix + ./modules/programs/infrastructure.nix + ./modules/programs/passwords.nix + ./modules/programs/shell.nix + ./modules/services/syncthing.nix + ]; + + environment.systemPackages = with pkgs; [ + chromium + ]; + + networking = { + hostName = "prefect"; + domain = "alanpearce.eu"; + }; + + system.stateVersion = "17.09"; +}