style: don't use top-level 'with lib'

This commit is contained in:
teutat3s 2024-05-27 11:00:23 +02:00
parent 8293c0ba00
commit ffb3810da8
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: }:
with lib; let let
psCfg = config.pub-solar; psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg; xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in { in {
@ -27,7 +27,7 @@ in {
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Fix for Error switching console mode to 1: unsupported on startup # Fix for Error switching console mode to 1: unsupported on startup
boot.loader.systemd-boot.consoleMode = mkForce "0"; boot.loader.systemd-boot.consoleMode = lib.mkForce "0";
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
@ -62,6 +62,7 @@ in {
}; };
services.usbmuxd.enable = true; services.usbmuxd.enable = true;
programs.droidcam.enable = true; programs.droidcam.enable = true;
#services.mozillavpn.enable = true;
security.pki.certificateFiles = [./consul-agent-ca.pem]; security.pki.certificateFiles = [./consul-agent-ca.pem];