summaryrefslogtreecommitdiff
path: root/hosts/muhammed
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-01 22:43:58 +0200
committerLinnnus <[email protected]>2023-10-01 23:08:32 +0200
commit7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 (patch)
tree11eb68ec0ae6e1f9cd1f4d7b645cc55e582b1873 /hosts/muhammed
parent241bbaf27ad990d0630b7b48f3e9858e8f42b88f (diff)
Use alejandra formatter
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;