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