From 7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 1 Oct 2023 22:43:58 +0200 Subject: Use alejandra formatter --- hosts/muhammed/configuration.nix | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'hosts/muhammed') 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; -- cgit v1.2.3