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,7 +14,7 @@ let
falkon falkon
thunderbird thunderbird
calibre calibre
unstable.dino dino
zotero zotero
keepassxc keepassxc
ding ding
@ -29,7 +29,7 @@ let
alacritty alacritty
libreoffice-fresh libreoffice-fresh
backintime-common backintime-common
unstable.anki-bin anki-bin
signal-desktop signal-desktop
(tor-browser-bundle-bin.override { mediaSupport = true; pulseaudioSupport = true; }) (tor-browser-bundle-bin.override { mediaSupport = true; pulseaudioSupport = true; })
pdfpc pdfpc
@ -37,7 +37,7 @@ let
nheko nheko
gpx-viewer gpx-viewer
gpxsee gpxsee
unstable.cawbird cawbird
subsurface subsurface
yate yate
# split and merge PDFs in a GUI # split and merge PDFs in a GUI
@ -65,7 +65,7 @@ let
] ]
++ ( ++ (
with gimpPlugins; [ with gimpPlugins; [
resynthesizer2 resynthesizer
fourier fourier
lqrPlugin lqrPlugin
] ]
@ -123,11 +123,10 @@ let
lorri lorri
nix-review nix-review
nixpkgs-fmt nixpkgs-fmt
pypi2nix
]; ];
kdeTools = with kdeApplications; [ kdeTools = with plasma5Packages; with kdeGear; [
newkde.okular okular
gwenview gwenview
yakuake yakuake
kmail kmail
@ -156,8 +155,8 @@ let
with kdeFrameworks; [ with kdeFrameworks; [
networkmanager-qt networkmanager-qt
kcrash kcrash
plasma5.breeze-gtk breeze-gtk
libsForQt5.phonon-backend-vlc phonon-backend-vlc
#(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;}) #(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;})
] ]
); );

View file

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

View file

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

View file

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