+3
-11
systems/reg/default.nix
+3
-11
systems/reg/default.nix
···
1
-
{
2
-
config,
3
-
pkgs,
4
-
inputs,
5
-
...
6
-
}:
7
{
8
my.username = "root";
9
···
17
boot.tmp.cleanOnBoot = true;
18
zramSwap.enable = true;
19
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
20
services.atuin = {
21
enable = true;
22
host = "0.0.0.0";
23
};
24
25
-
users.users = {
26
-
${config.my.username}.openssh.authorizedKeys.keyFiles = [ inputs.ssh-keys ];
27
-
};
28
-
29
-
environment.systemPackages = with pkgs; [ helix ];
30
31
system.stateVersion = "25.05";
32
}
···
1
+
{ config, inputs, ... }:
2
{
3
my.username = "root";
4
···
12
boot.tmp.cleanOnBoot = true;
13
zramSwap.enable = true;
14
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
15
+
16
services.atuin = {
17
enable = true;
18
host = "0.0.0.0";
19
};
20
21
+
users.users.${config.my.username}.openssh.authorizedKeys.keyFiles = [ inputs.ssh-keys ];
22
23
system.stateVersion = "25.05";
24
}