remote builder stuff

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-17 02:37:39 -06:00
parent 4bb407a4cb
commit 0663c9b414
4 changed files with 33 additions and 21 deletions

View file

@ -1,6 +1,11 @@
{ settings, ... }:
{ settings, config, ... }:
{
users.users.${settings.user.username}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJN2nsLmAlF6zj5dEBkNSJaqcCya+aB6I0imY8Q5Ew0S nix2lio"
];
# Also allow this key to work for root user, this will let us use this as a remote builder
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJN2nsLmAlF6zj5dEBkNSJaqcCya+aB6I0imY8Q5Ew0S nix2lio"
];
}

View file

@ -5,5 +5,5 @@
...
}:
{
home.packages = lib.mkIf (!nixConfig.mods.de_cosmic.enable) (with pkgs; [ gnome.nautilus qimgv ]);
home.packages = lib.mkIf (!nixConfig.mods.de_cosmic.enable) (with pkgs; [ nautilus qimgv ]);
}