summaryrefslogtreecommitdiff
path: root/hosts/muhammed/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/muhammed/configuration.nix')
-rw-r--r--hosts/muhammed/configuration.nix5
1 files changed, 3 insertions, 2 deletions
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}