style: format with nix fmt

Currently uses `nixpkgs-fmt`
This commit is contained in:
reo101 2024-01-25 17:39:43 +02:00
parent a6efd4146b
commit 36e14ad3f6
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
10 changed files with 267 additions and 263 deletions

View file

@ -77,7 +77,7 @@
age.secrets."jeeves.user.password" = {
rekeyFile = "${inputs.self}/secrets/home/jeeves/user/password.age";
generator = {
script = {pkgs, ...}: ''
script = { pkgs, ... }: ''
${pkgs.mkpasswd}/bin/mkpasswd -m sha-516
'';
};
@ -124,16 +124,16 @@
# };
security.sudo = {
enable = true;
extraRules= [
extraRules = [
{
users = [
"jeeves"
];
commands = [
{
command = "ALL" ;
options= [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
}
{
command = "ALL";
options = [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
}
];
}
];