Skip to content

Commit 6f63597

Browse files
committed
run formatter
1 parent 8a7d5b2 commit 6f63597

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

host/firestorm/default.nix

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ with lib;
266266

267267
services.mysql =
268268
let
269-
services = [];
269+
services = [ ];
270270
in
271271
{
272272
enable = true;
@@ -283,14 +283,14 @@ with lib;
283283
};
284284
})
285285
services
286-
) ++ [
287-
{
288-
name = "mysql";
289-
ensurePermissions = {
290-
"*.*" = "ALL PRIVILEGES";
291-
};
292-
}
293-
];
286+
) ++ [
287+
{
288+
name = "mysql";
289+
ensurePermissions = {
290+
"*.*" = "ALL PRIVILEGES";
291+
};
292+
}
293+
];
294294
settings.mysqld = {
295295
"character_set_server" = "utf8mb4";
296296
"collation_server" = "utf8mb4_general_ci";

host/permafrost/default.nix

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -134,28 +134,28 @@ in
134134
};
135135

136136
users.users =
137-
(
138-
mapListToAttrs
139-
(host: {
140-
name = host;
141-
value = {
137+
(
138+
mapListToAttrs
139+
(host: {
140+
name = host;
141+
value = {
142+
isNormalUser = true;
143+
shell = pkgs.bashInteractive;
144+
home = "/backup/${host}";
145+
openssh.authorizedKeys.keyFiles = [ config.nzbr.foreignAssets.${host}."ssh/permafrost.pub" ];
146+
};
147+
})
148+
(filter
149+
(host: config.nzbr.foreignAssets.${host} ? "ssh/permafrost.pub")
150+
(builtins.attrNames config.nzbr.foreignAssets)
151+
)
152+
) // {
153+
pulsar = {
142154
isNormalUser = true;
143155
shell = pkgs.bashInteractive;
144-
home = "/backup/${host}";
145-
openssh.authorizedKeys.keyFiles = [ config.nzbr.foreignAssets.${host}."ssh/permafrost.pub" ];
156+
home = "/backup/pulsar";
146157
};
147-
})
148-
(filter
149-
(host: config.nzbr.foreignAssets.${host} ? "ssh/permafrost.pub")
150-
(builtins.attrNames config.nzbr.foreignAssets)
151-
)
152-
) // {
153-
pulsar = {
154-
isNormalUser = true;
155-
shell = pkgs.bashInteractive;
156-
home = "/backup/pulsar";
157158
};
158-
};
159159

160160
environment.systemPackages = with pkgs; [
161161
borgbackup

0 commit comments

Comments
 (0)