From db373a8c727cad91d375b40a6c70b11ed73bdafb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Apr 2024 13:30:45 -0400 Subject: Add nixfmt to Lint.hs nixfmt is the soon-to-be official formatter for Nix code, as per the NixOS GitHub group. So I figure I should just adopt it without worrying too much about the specifics of the formatting. I just formatted everything in one go, hence the huge diff, oh well. --- Biz/Users.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Biz/Users.nix') diff --git a/Biz/Users.nix b/Biz/Users.nix index b7717a3..b214704 100644 --- a/Biz/Users.nix +++ b/Biz/Users.nix @@ -1,24 +1,25 @@ { config, lib, ... }: let - readKeys = k: lib.trivial.pipe k [ - builtins.readFile - (lib.strings.splitString "\n") - (lib.filter (s: s != "")) - ]; + readKeys = k: + lib.trivial.pipe k [ + builtins.readFile + (lib.strings.splitString "\n") + (lib.filter (s: s != "")) + ]; in { users.groups = { # group for publishing web data - "www-data" = {}; + "www-data" = { }; }; users.motd = '' - welcome to the simatime network! - your host is '${config.networking.hostName}' + welcome to the simatime network! + your host is '${config.networking.hostName}' ''; users.mutableUsers = false; - users.users = { # + users.users = { # bots # deploy = { -- cgit v1.2.3