Fixed Option
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
./packages.nix
|
||||
./git.nix
|
||||
./shell.nix
|
||||
./ssh.nix
|
||||
./xdg.nix
|
||||
./neovim
|
||||
./python.nix
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
{ primaryUser, isDarwin, ... }:
|
||||
{
|
||||
ssh = {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlock = {
|
||||
addKeysToAgent = "yes";
|
||||
matchBlocks = {
|
||||
"*.cyperpunk.de" = {
|
||||
identityFile =
|
||||
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";
|
||||
|
||||
@@ -107,7 +107,6 @@
|
||||
home = "/home/${primaryUser}";
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keyFiles = [ ../secrets/ssh-key ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
|
||||
Reference in New Issue
Block a user