Add root ssh keys
This commit is contained in:
parent
d1665017ac
commit
e46158b328
4 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/root
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
||||
|
@ -49,8 +50,6 @@
|
|||
cryptsetup # used to open LUKS devices
|
||||
parted # Disk partitioner / Formatter
|
||||
screen # Terminal screen manager
|
||||
alejandra # Nix code formatter
|
||||
nixfmt # Nix code formatter
|
||||
e2fsprogs # disk format utilities, like mkfs.ext4
|
||||
bat # Like cat, but with syntax highlighting
|
||||
openssl # Used to generate certs, random strings, etc
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/root
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
./common/modules/nixos.nix # Common NixOS Configurations
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/root
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
];
|
||||
|
|
3
nixos/users/root/default.nix
Normal file
3
nixos/users/root/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ config, desktop, lib, pkgs, ... }:
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ];
|
||||
}
|
Loading…
Reference in a new issue