treewide: remove stray mkDefault

This commit is contained in:
Guanran Wang 2024-08-31 04:14:38 +08:00
parent 749d45df3c
commit 97c30c1619
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 5 additions and 6 deletions

View file

@ -25,7 +25,7 @@
inputs.self.overlays.patches inputs.self.overlays.patches
]; ];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
unzip unzip
@ -54,7 +54,7 @@
}; };
# https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/ # https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/
services.dbus.implementation = lib.mkDefault "broker"; services.dbus.implementation = "broker";
security.sudo.execWheelOnly = true; security.sudo.execWheelOnly = true;
security.sudo.extraConfig = '' security.sudo.extraConfig = ''

View file

@ -1,10 +1,9 @@
{ lib, ... }:
{ {
services.zram-generator = { services.zram-generator = {
enable = true; enable = true;
settings.zram0 = { settings.zram0 = {
compression-algorithm = lib.mkDefault "zstd"; compression-algorithm = "zstd";
zram-size = lib.mkDefault "ram"; zram-size = "ram";
}; };
}; };

View file

@ -5,5 +5,5 @@
"wireless/ImmortalWrt".path = "/var/lib/iwd/ImmortalWrt.psk"; "wireless/ImmortalWrt".path = "/var/lib/iwd/ImmortalWrt.psk";
}; };
networking.wireless.iwd.enable = lib.mkDefault true; networking.wireless.iwd.enable = true;
} }