diff options
Diffstat (limited to 'hosts/muhammed/configuration.nix')
-rw-r--r-- | hosts/muhammed/configuration.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix index 04fd55e..b5d1aa8 100644 --- a/hosts/muhammed/configuration.nix +++ b/hosts/muhammed/configuration.nix @@ -1,5 +1,9 @@ # This file contains the configuration for my Macbook Pro. -{flakeInputs, ...}: { +{ + flakeInputs, + config, + ... +}: { imports = [ ./home ./linux-builder @@ -33,6 +37,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. ]; in '' %admin ALL=(ALL:ALL) NOPASSWD: ${builtins.concatStringsSep ", " commands} |