summaryrefslogtreecommitdiff
path: root/hosts/muhammed
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/muhammed')
-rw-r--r--hosts/muhammed/configuration.nix21
1 files changed, 8 insertions, 13 deletions
diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix
index 6fac35f..a9ae6a6 100644
--- a/hosts/muhammed/configuration.nix
+++ b/hosts/muhammed/configuration.nix
@@ -1,8 +1,5 @@
# This file contains the configuration for my Macbook Pro.
-
-{ flakeInputs, ... }:
-
-{
+{flakeInputs, ...}: {
# Specify the location of this configuration file. Very meta.
environment.darwinConfig = flakeInputs.self + "/hosts/muhammed/configuration.nix";
@@ -23,15 +20,13 @@
security.pam.enableSudoTouchIdAuth = true;
# Don't request password for running pmset.
- environment.etc."sudoers.d/10-unauthenticated-commands".text =
- let
- commands = [
- "/usr/bin/pmset"
- ];
- in
- ''
- %admin ALL=(ALL:ALL) NOPASSWD: ${builtins.concatStringsSep ", " commands}
- '';
+ environment.etc."sudoers.d/10-unauthenticated-commands".text = let
+ commands = [
+ "/usr/bin/pmset"
+ ];
+ in ''
+ %admin ALL=(ALL:ALL) NOPASSWD: ${builtins.concatStringsSep ", " commands}
+ '';
services.still-awake.enable = true;