forked from poz/niksos
better™️
This commit is contained in:
parent
1495804ef5
commit
90717bd4a3
2 changed files with 22 additions and 20 deletions
|
@ -268,51 +268,52 @@
|
|||
enable = true;
|
||||
hostAliases = let
|
||||
username = config.myOptions.other.system.username;
|
||||
hmCfg = config.home-manager.users.${username};
|
||||
in {
|
||||
"github" = {
|
||||
hostName = "github.com";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/githubkey";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/githubkey";
|
||||
};
|
||||
"git.dupa.edu.pl" = {
|
||||
hostName = "git.dupa.edu.pl";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/gitdupaedupl";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/gitdupaedupl";
|
||||
};
|
||||
"codeberg" = {
|
||||
hostName = "codeberg.org";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/codeberg";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/codeberg";
|
||||
};
|
||||
"gitlab" = {
|
||||
hostName = "gitlab.com";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/gitlab";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/gitlab";
|
||||
};
|
||||
"aur" = {
|
||||
hostName = "aur.archlinux.org";
|
||||
user = "aur";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/aur";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/aur";
|
||||
};
|
||||
"jacekpoz" = {
|
||||
hostName = "git.jacekpoz.pl";
|
||||
user = "forgejo";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/jacekpoz";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/jacekpoz";
|
||||
};
|
||||
"chmura" = {
|
||||
hostName = "192.168.15.2";
|
||||
user = "chmura";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/chmura";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/chmura";
|
||||
};
|
||||
"chmura2" = {
|
||||
hostName = "jacekpoz.pl";
|
||||
user = "chmura";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/chmura";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/chmura";
|
||||
};
|
||||
"malina" = {
|
||||
hostName = "192.168.15.3";
|
||||
user = "malina";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/malina";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/malina";
|
||||
};
|
||||
"outfoxxed" = {
|
||||
hostName = "git.outfoxxed.me";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/outfoxxed";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/outfoxxed";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -240,51 +240,52 @@
|
|||
enable = true;
|
||||
hostAliases = let
|
||||
username = config.myOptions.other.system.username;
|
||||
hmCfg = config.home-manager.users.${username};
|
||||
in {
|
||||
"github" = {
|
||||
hostName = "github.com";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/githubkey";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/githubkey";
|
||||
};
|
||||
"git.dupa.edu.pl" = {
|
||||
hostName = "git.dupa.edu.pl";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/gitdupaedupl";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/gitdupaedupl";
|
||||
};
|
||||
"codeberg" = {
|
||||
hostName = "codeberg.org";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/codeberg";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/codeberg";
|
||||
};
|
||||
"gitlab" = {
|
||||
hostName = "gitlab.com";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/gitlab";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/gitlab";
|
||||
};
|
||||
"aur" = {
|
||||
hostName = "aur.archlinux.org";
|
||||
user = "aur";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/aur";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/aur";
|
||||
};
|
||||
"jacekpoz" = {
|
||||
hostName = "git.jacekpoz.pl";
|
||||
user = "forgejo";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/jacekpoz";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/jacekpoz";
|
||||
};
|
||||
"chmura" = {
|
||||
hostName = "192.168.15.2";
|
||||
user = "chmura";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/chmura";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/chmura";
|
||||
};
|
||||
"chmura2" = {
|
||||
hostName = "jacekpoz.pl";
|
||||
user = "chmura";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/chmura";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/chmura";
|
||||
};
|
||||
"malina" = {
|
||||
hostName = "192.168.15.3";
|
||||
user = "malina";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/malina";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/malina";
|
||||
};
|
||||
"outfoxxed" = {
|
||||
hostName = "git.outfoxxed.me";
|
||||
identityFile = "${config.home-manager.users.${username}.home.homeDirectory}/.ssh/outfoxxed";
|
||||
identityFile = "${hmCfg.home.homeDirectory}/.ssh/outfoxxed";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue