added kernel module

This commit is contained in:
NeoTheFox 2020-11-13 21:51:29 +03:00
parent f1a6c1b39d
commit d89e15d453

View File

@ -12,6 +12,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./kernel.nix
./gnome.nix ./gnome.nix
./sway.nix ./sway.nix
]; ];
@ -19,7 +20,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 2; boot.loader.timeout = 2;
boot.kernelPackages = pkgs.linuxPackages_latest; #boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ "video=efifb" "fbcon=rotate:1" "quiet" ]; boot.kernelParams = [ "video=efifb" "fbcon=rotate:1" "quiet" ];
boot.kernel.sysctl."vm.swappiness" = 1; boot.kernel.sysctl."vm.swappiness" = 1;
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
@ -39,8 +40,9 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget neovim curl git neofetch pv ncdu mesa-demos mpv exa aria2 wget neovim curl git neofetch pv ncdu mesa-demos mpv exa aria2
kitty firefox-wayland rsync qutebrowser qbittorrent gimp synergy kitty firefox-wayland rsync qutebrowser qbittorrent gimp synergy
vulkan-tools vulkan-loader ranger nnn fd mdcat youtube-dl vulkan-tools vulkan-loader ranger nnn fd mdcat youtube-dl atool p7zip
lazygit htop libva-utils intel-gpu-tools fscrypt-experimental lazygit htop libva-utils intel-gpu-tools fscrypt-experimental zstd
element-desktop
]; ];
#Flatpak #Flatpak
@ -65,7 +67,7 @@
services.tlp.enable = true; services.tlp.enable = true;
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];