New ssh config style
This commit is contained in:
parent
d58b3e331a
commit
7400213409
|
|
@ -22,7 +22,7 @@ in {
|
|||
(import ./utils/fzgo_links.nix {inherit config pkgs fzgo_paths;})
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
jetbrains.pycharm
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ in {
|
|||
(import ./utils/fzgo_links.nix {inherit config pkgs fzgo_paths;})
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Arendia/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Arendia/id_ed25519";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
rclone
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in {
|
|||
(import ./utils/common.nix {inherit inputs config pkgs;})
|
||||
./ssh
|
||||
];
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/ubuntu/.secrets/SSH/Arm/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/ubuntu/.secrets/SSH/Arm/id_ed25519";
|
||||
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
(import ./utils/desktop.nix {inherit inputs config pkgs;})
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Asturia/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Asturia/id_ed25519";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
distrobox
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ in {
|
|||
(import ./utils/desktop.nix {inherit inputs config pkgs;})
|
||||
(import ./utils/fzgo_links.nix {inherit config pkgs fzgo_paths;})
|
||||
];
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Kell/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Kell/id_ed25519";
|
||||
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ in {
|
|||
(import ./utils/fzgo_links.nix {inherit config pkgs fzgo_paths;})
|
||||
./ssh
|
||||
];
|
||||
programs.ssh.matchBlocks."*".identityFile = "${home_dir}/.secrets/SSH/Mallorea/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "${home_dir}/.secrets/SSH/Mallorea/id_ed25519";
|
||||
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in {
|
|||
(import ./utils/common.nix {inherit inputs config pkgs;})
|
||||
./ssh
|
||||
];
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Pi/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Pi/id_ed25519";
|
||||
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ in {
|
|||
./ssh
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Riva/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Riva/id_ed25519";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
./ssh
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Tolnedra/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/user/.secrets/SSH/Tolnedra/id_ed25519";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ in {
|
|||
./ssh
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".identityFile = "/home/server/.secrets/SSH/Vault/id_ed25519";
|
||||
programs.ssh.settings."*".identityFile = "/home/server/.secrets/SSH/Vault/id_ed25519";
|
||||
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
settings = {
|
||||
"*" = {
|
||||
host = "*";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue