hydra-mirror: inline the user configuration fragment
Not sure why this needed to be a separate file?
Pierre Bourdon committed
Feb 20, 2024 at 23:38 UTC
a499bb6d42343d776d09fba963de79039ed7a9bd
2 files changed
+9
-12
modules/hydra-mirror-user.nix
deleted
-11
@@ -1,11 +0,0 @@
1
-{
2
- users.users.hydra-mirror =
3
- { description = "Channel mirroring user";
4
- home = "/home/hydra-mirror";
5
- openssh.authorizedKeys.keys = (import ../ssh-keys.nix).infra-core;
6
- uid = 497;
7
- group = "hydra-mirror";
8
- };
9
-
10
- users.groups.hydra-mirror = {};
11
-}
modules/hydra-mirror.nix
+9
-1
@@ -39,7 +39,15 @@ let
39
in
40
41
{
42
- imports = [ ./hydra-mirror-user.nix ];
42
+ users.users.hydra-mirror =
43
+ { description = "Channel mirroring user";
44
+ home = "/home/hydra-mirror";
45
+ openssh.authorizedKeys.keys = (import ../ssh-keys.nix).infra-core;
46
+ uid = 497;
47
+ group = "hydra-mirror";
48
+ };
49
+
50
+ users.groups.hydra-mirror = {};
51
52
systemd.tmpfiles.rules = [
53
''