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;
};

View file

@ -11,7 +11,7 @@ in
(
builtins.fetchGit {
url = "https://github.com/NixOS/nixos-hardware";
rev = "62a1812f3c20b7119013650f926806fecd956574";
rev = "d38958a6aa5bdbf3239f26a04689f3d9ae7da0c0";
} + "/lenovo/thinkpad/t440s"
)
];

View file

@ -40,9 +40,9 @@
networkmanager-openconnect
networkmanager-vpnc
networkmanager-openvpn
kdeApplications.akonadi-mime # for KOrganizer
plasma5Packages.kdeGear.akonadi-mime # for KOrganizer
]
++ (with plasma5; with kdeApplications; [
++ (with plasma5Packages; with kdeGear; [
#akonadi
#akonadi-calendar
#akonadi-contacts