From ffb3810da887022a38831749fffe4c419471383e Mon Sep 17 00:00:00 2001 From: teutat3s Date: Mon, 27 May 2024 11:00:23 +0200 Subject: [PATCH] style: don't use top-level 'with lib' --- hosts/dumpyourvms/dumpyourvms.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index 964b40d4..7d882c2d 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -4,7 +4,7 @@ pkgs, ... }: -with lib; let +let psCfg = config.pub-solar; xdg = config.home-manager.users."${psCfg.user.name}".xdg; in { @@ -27,7 +27,7 @@ in { boot.loader.efi.canTouchEfiVariables = true; # 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"]; @@ -62,6 +62,7 @@ in { }; services.usbmuxd.enable = true; programs.droidcam.enable = true; + #services.mozillavpn.enable = true; security.pki.certificateFiles = [./consul-agent-ca.pem];