Update Lilim config.
This commit is contained in:
parent
f6a24ff9f6
commit
775bc3a9f4
2 changed files with 22 additions and 10 deletions
|
@ -18,7 +18,12 @@ in {
|
|||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
kernelModules = [ "i915" "kvm-intel" "uinput" ];
|
||||
kernelModules = [ "acpi_call" "i915" "kvm-intel" "uinput" ];
|
||||
# 5_10 breaks my touchpad/mouse buttons
|
||||
# https://bbs.archlinux.org/viewtopic.php?id=254885
|
||||
# maybe modprobe hid_rmi or i2c_i801
|
||||
# blacklistedKernelModules = [ "i2c_i801" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; #pkgs.gitpkgs.linuxPackages_latest.hid-nintendo ];
|
||||
kernelParams = [ "intel_iommu=on" ];
|
||||
extraModprobeConfig = ''
|
||||
options i915 enable_fbc=1 enable_guc=3
|
||||
|
@ -43,7 +48,7 @@ in {
|
|||
hardware = {
|
||||
firmware = with pkgs; [ firmwareLinuxNonfree ];
|
||||
cpu.intel.updateMicrocode = true;
|
||||
enableAllFirmware = true;
|
||||
enableAllFirmware = false;
|
||||
ksm.enable = true;
|
||||
opengl = {
|
||||
driSupport = true;
|
||||
|
@ -72,7 +77,10 @@ in {
|
|||
enable = true;
|
||||
cpuFreqGovernor = "powersave";
|
||||
};
|
||||
services.upower.enable = true;
|
||||
services = {
|
||||
upower.enable = true;
|
||||
xserver.videoDrivers = [ "intel" ];
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
}
|
||||
|
|
|
@ -9,7 +9,8 @@ with lib;
|
|||
config.machine = {
|
||||
allowUnfree = true;
|
||||
hostName = "Lilim";
|
||||
administrators = [ { name = "derped"; id = 1337; } ];
|
||||
useNetworkd = true;
|
||||
administrators = [ { name = "derped"; id = 1337; } { name = "testy"; id = 1338; } ];
|
||||
conffiles = [
|
||||
"etcfiles"
|
||||
"etcvars"
|
||||
|
@ -20,21 +21,23 @@ with lib;
|
|||
"base"
|
||||
"cpp"
|
||||
"dict"
|
||||
"nodejs"
|
||||
"latex"
|
||||
"emacs"
|
||||
"emacs::company"
|
||||
"emacs::direnv"
|
||||
"emacs::doom-modeline"
|
||||
"emacs::doom-themes"
|
||||
"emacs::elpy"
|
||||
"emacs::fcitx"
|
||||
"emacs::flycheck"
|
||||
"emacs::flyspell"
|
||||
"emacs::latex"
|
||||
"emacs::lsp"
|
||||
"emacs::magit"
|
||||
"emacs::mu4e"
|
||||
"emacs::elfeed"
|
||||
"emacs::nix-mode"
|
||||
"emacs::org"
|
||||
"emacs::rust"
|
||||
"emacs::transmission"
|
||||
"emacs::web-mode"
|
||||
"emacs::yasnippet"
|
||||
|
@ -42,16 +45,17 @@ with lib;
|
|||
"haskell"
|
||||
"mail_utils"
|
||||
"python3"
|
||||
"rustpkgs"
|
||||
"xpkgs"
|
||||
# "emacs::lsp"
|
||||
# "emacs::powerline"
|
||||
# "emacs::solarized-theme"
|
||||
];
|
||||
services = [
|
||||
"bind"
|
||||
"desktop"
|
||||
"udev"
|
||||
"cups"
|
||||
"mullvad"
|
||||
"mariaDB"
|
||||
"nspawn"
|
||||
"docker"
|
||||
];
|
||||
firewall = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue