From edf7cc355cb1f55a9301283ebec15e01dc4ffe62 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 19 Nov 2023 21:58:34 +0300 Subject: 2023-11-19 --- nixosConfigurations/melian/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nixosConfigurations/melian') diff --git a/nixosConfigurations/melian/default.nix b/nixosConfigurations/melian/default.nix index f4178e2..64dd152 100644 --- a/nixosConfigurations/melian/default.nix +++ b/nixosConfigurations/melian/default.nix @@ -1,4 +1,9 @@ -{pkgs, ...}: { +{ + lib, + pkgs, + ... +}: +with lib; { nixfiles.modules = { wireguard.client.enable = true; @@ -18,7 +23,7 @@ }; powerManagement = let - modprobe = "${pkgs.kmod}/bin/modprobe"; + modprobe = getExe' pkgs.kmod "modprobe"; in { enable = true; -- cgit 1.4.1