From efb9b1a79cf2bd9fee0a6c6bbe8c20eaa7f68bbc Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 12 Dec 2018 23:42:02 +0100 Subject: [PATCH] Configuration PC-Fixe --- systems/PC-Fixe/configuration.nix | 9 ++++++++- systems/PC-Fixe/hardware-configuration.nix | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 67875c8..8801241 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -18,6 +18,8 @@ # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelParams = ["acpi_enforce_resources=lax"]; boot.tmpOnTmpfs = true; # NVIDIA @@ -32,6 +34,7 @@ services.udev.packages = with pkgs; [ ledger-udev-rules + usb-modeswitch-data # Logitech G920 ]; networking.hostName = "paul-fixe"; # Define your hostname. @@ -54,6 +57,7 @@ transmission-remote-gtk appimage-run bat + usb_modeswitch gopass xclip @@ -103,6 +107,7 @@ glxinfo i7z + lm_sensors obs-studio ]; @@ -138,7 +143,7 @@ # Define a user account. Don't forget to set a password with ‘passwd’. users.users.paul = { isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" "wireshark" ]; + extraGroups = [ "wheel" "networkmanager" "wireshark" "input" ]; uid = 1000; }; @@ -146,6 +151,8 @@ services.syncthing.user = "paul"; services.syncthing.group = "users"; + virtualisation.rkt.enable = true; + # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you diff --git a/systems/PC-Fixe/hardware-configuration.nix b/systems/PC-Fixe/hardware-configuration.nix index bc893a8..eeebbd8 100644 --- a/systems/PC-Fixe/hardware-configuration.nix +++ b/systems/PC-Fixe/hardware-configuration.nix @@ -9,8 +9,9 @@ ]; boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-intel" "nct6775" ]; boot.extraModulePackages = [ ]; + boot.blacklistedKernelModules = [ "hid-steam" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e";