update to NixOS 21.05

This commit is contained in:
Trolli Schmittlauch 2021-06-03 13:28:46 +02:00
parent 97bc6a9612
commit b7d87aa0ee
4 changed files with 14 additions and 18 deletions

View file

@ -14,8 +14,6 @@ in
# Include the results of the hardware scan.
./hardware-configuration.nix
./packages.nix
# home manager integration
<home-manager/nixos>
];
services.davfs2.enable = true;
@ -24,7 +22,7 @@ in
#boot.kernelPackages = pkgs.linuxPackages_latest;
# use old kernel because 5.4 and 5.5 might be buggy with intel graphics
boot.kernelPackages = pkgs.linuxPackages_4_19;
#boot.kernelPackages = pkgs.linuxPackages_4_19;
services.fstrim.enable = true;
services.btrfs.autoScrub =
@ -128,7 +126,7 @@ in
# Bluetooth
hardware.bluetooth = {
enable = true;
config.General.Disable = "Headset"; # disable headset profile
settings.General.Disable = "Headset"; # disable headset profile
};
hardware.pulseaudio.package = pkgs.pulseaudioFull;
@ -160,7 +158,6 @@ in
extraGroups = [ "vboxusers" "wheel" "networkmanager" "scanner" "lp" "wireshark" "dialout" "cdrom" "input" "adbusers" ];
shell = pkgs.zsh;
};
#home-manager.users.spiollinux = import "${users.users.spiollinux.home}/nixconfigs/home/home.nix" { pkgs, ...};
# enable virtualbox support
virtualisation.virtualbox.host = {
@ -188,7 +185,7 @@ in
fonts = {
enableFontDir = true;
fontDir.enable = true;
fontconfig.enable = true;
fontconfig.includeUserConf = true;
};