From 1c3e554e7f77a6d2a2374ef4fe32bf0d287dfd40 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 16 Nov 2024 12:53:33 +0100 Subject: home+muhammed Add disable-sleep to shell-utils --- hosts/muhammed/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hosts/muhammed') diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix index b5d1aa8..dd9a737 100644 --- a/hosts/muhammed/configuration.nix +++ b/hosts/muhammed/configuration.nix @@ -1,7 +1,8 @@ # This file contains the configuration for my Macbook Pro. { flakeInputs, - config, + pkgs, + lib, ... }: { imports = [ @@ -37,7 +38,7 @@ environment.etc."sudoers.d/10-unauthenticated-commands".text = let commands = [ "/usr/bin/pmset" - "${config.users.users.linus.home}/.local/bin/monner" # TODO: We should really package this. + (lib.getExe pkgs.disable-sleep) ]; in '' %admin ALL=(ALL:ALL) NOPASSWD: ${builtins.concatStringsSep ", " commands} -- cgit v1.2.3