config: restructure user and host files

This commit is contained in:
Gabriel Arazas 2022-12-03 13:44:40 +08:00
parent 9924811dc0
commit b5b52426dc
9 changed files with 7 additions and 7 deletions

View File

@ -19,9 +19,6 @@
isNormalUser = true;
createHome = true;
home = "/home/foo-dogsquared";
openssh.authorizedKeys.keyFiles = [
../../users/home-manager/foo-dogsquared/user-key.pub
];
})
];

View File

@ -0,0 +1 @@
age1dm9xugju4q5gx0zty8ckw655ea904c64gv9qw9fn3lu507ck8uzsag59y8

View File

@ -0,0 +1 @@
age1sj497yr895335rk77qqnrqyx9f7462ma3lz0a0x3w5cnla5uqgpspgggtz

View File

@ -0,0 +1 @@
age1say65zc678yc03tx4zexp20c9gvskvwrm4390j4x2jkepn97duhq9ptuj9

View File

@ -10,8 +10,8 @@
extraGroups = [ "wheel" ];
useDefaultShell = true;
openssh.authorizedKeys.keyFiles = [
../../home-manager/foo-dogsquared/user-key.pub
../../../hosts/ni/host-key.pub
../../home-manager/foo-dogsquared/files/ssh-key.pub
../../../hosts/ni/files/ssh-key.pub
];
};

View File

@ -10,8 +10,8 @@
description = "The go-to user for server systems.";
openssh.authorizedKeys.keyFiles = [
../../home-manager/foo-dogsquared/user-key.pub
../../../hosts/ni/host-key.pub
../../home-manager/foo-dogsquared/files/ssh-key.pub
../../../hosts/ni/files/ssh-key.pub
];
};
}