refactor(openssh): move authorizedKeys to sshd module
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
ff785d44c7
commit
8a8ea40101
5 changed files with 12 additions and 18 deletions
|
@ -36,11 +36,6 @@ in {
|
|||
"video"
|
||||
"libvirtd"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE39uk52+NIDLdHeoSHIEsOUUFRzj06AGn09z4TUOYm matt@OP9"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
|
||||
];
|
||||
};
|
||||
home-manager.users.${mainUser} = {
|
||||
imports = [
|
||||
|
|
|
@ -26,12 +26,6 @@ in {
|
|||
"wheel"
|
||||
"adm"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE39uk52+NIDLdHeoSHIEsOUUFRzj06AGn09z4TUOYm matt@OP9"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICr2+CpqXNMLsjgbrYyIwTKhlVSiIYol1ghBPzLmUpKl matt@binto"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
|
||||
];
|
||||
};
|
||||
home-manager.users.${mainUser} = {
|
||||
imports = [];
|
||||
|
|
|
@ -26,12 +26,6 @@ in {
|
|||
"wheel"
|
||||
"adm"
|
||||
];
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE39uk52+NIDLdHeoSHIEsOUUFRzj06AGn09z4TUOYm matt@OP9"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICr2+CpqXNMLsjgbrYyIwTKhlVSiIYol1ghBPzLmUpKl matt@binto"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
|
||||
];
|
||||
};
|
||||
|
||||
# https://nixos.wiki/wiki/Distributed_build
|
||||
|
|
|
@ -191,6 +191,7 @@
|
|||
owner = "horriblename";
|
||||
repo = "hyprgrass";
|
||||
|
||||
# FIXME: https://github.com/horriblename/hyprgrass/issues/76
|
||||
# Commit before PR #73 that breaks swiping
|
||||
rev = "0165a9ed8679f3f2c62cc868bdaf620e4520d504";
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{...}: {
|
||||
{config, ...}: let
|
||||
inherit (config.vars) mainUser;
|
||||
in {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
@ -8,4 +10,12 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users.${mainUser} = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE39uk52+NIDLdHeoSHIEsOUUFRzj06AGn09z4TUOYm matt@OP9"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICr2+CpqXNMLsjgbrYyIwTKhlVSiIYol1ghBPzLmUpKl matt@binto"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue