mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
config: restructure user and host files
This commit is contained in:
parent
9924811dc0
commit
b5b52426dc
@ -19,9 +19,6 @@
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
home = "/home/foo-dogsquared";
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../users/home-manager/foo-dogsquared/user-key.pub
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
|
1
hosts/ni/files/age-key.pub
Normal file
1
hosts/ni/files/age-key.pub
Normal file
@ -0,0 +1 @@
|
||||
age1dm9xugju4q5gx0zty8ckw655ea904c64gv9qw9fn3lu507ck8uzsag59y8
|
1
hosts/plover/files/age-key.pub
Normal file
1
hosts/plover/files/age-key.pub
Normal file
@ -0,0 +1 @@
|
||||
age1sj497yr895335rk77qqnrqyx9f7462ma3lz0a0x3w5cnla5uqgpspgggtz
|
1
users/home-manager/foo-dogsquared/files/age-key.pub
Normal file
1
users/home-manager/foo-dogsquared/files/age-key.pub
Normal file
@ -0,0 +1 @@
|
||||
age1say65zc678yc03tx4zexp20c9gvskvwrm4390j4x2jkepn97duhq9ptuj9
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user