Configuration PC-Fixe

This commit is contained in:
nyanloutre 2018-12-12 23:42:02 +01:00
parent bd4ad14df2
commit efb9b1a79c
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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";