refactor: update SSH configurations and add new key for Menno's 2025 setup
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
@ -4,5 +4,5 @@ mennos-desktop ansible_connection=local
|
||||
|
||||
[servers]
|
||||
mennos-server ansible_connection=local
|
||||
homeserver-pc ansible_connection=local
|
||||
mennos-hobbypc ansible_connection=local
|
||||
mennos-vm ansible_connection=local
|
||||
|
@ -18,4 +18,4 @@
|
||||
|
||||
- name: Include server tasks
|
||||
ansible.builtin.import_tasks: tasks/servers/server.yml
|
||||
when: hostname in ['mennos-server', 'homeserver-pc', 'mennos-vm']
|
||||
when: hostname in ['mennos-server', 'mennos-hobbypc', 'mennos-vm']
|
||||
|
@ -25,13 +25,11 @@
|
||||
follow: false
|
||||
vars:
|
||||
gitconfig_mapping:
|
||||
mennos-desktop: "~/dotfiles/config/git/gitconfig.linux"
|
||||
mennos-laptop: "~/dotfiles/config/git/gitconfig.linux"
|
||||
mennos-server: "~/dotfiles/config/git/gitconfig.mennos-server"
|
||||
mennos-vm: "~/dotfiles/config/git/gitconfig.mennos-server"
|
||||
mennos-desktop: "~/dotfiles/config/git/gitconfig.linux"
|
||||
mennos-gamingpc: "~/dotfiles/config/git/gitconfig.linux"
|
||||
mennos-laptop: "~/dotfiles/config/git/gitconfig.linux"
|
||||
homeserver-pc: "~/dotfiles/config/git/gitconfig.linux"
|
||||
wsl: "~/dotfiles/config/git/gitconfig.wsl"
|
||||
mennos-hobbypc: "~/dotfiles/config/git/gitconfig.linux"
|
||||
|
||||
- name: Create SSH authorized_keys symlink
|
||||
ansible.builtin.file:
|
||||
@ -42,10 +40,8 @@
|
||||
follow: false
|
||||
vars:
|
||||
authorized_keys_mapping:
|
||||
mennos-desktop: "~/dotfiles/config/ssh/authorized_keys/mennos-desktop"
|
||||
mennos-laptop: "~/dotfiles/config/ssh/authorized_keys/mennos-laptop"
|
||||
mennos-server: "~/dotfiles/config/ssh/authorized_keys/mennos-server"
|
||||
mennos-vm: "~/dotfiles/config/ssh/authorized_keys/mennos-server"
|
||||
mennos-desktop: "~/dotfiles/config/ssh/authorized_keys/mennos-desktop"
|
||||
mennos-gamingpc: "~/dotfiles/config/ssh/authorized_keys/mennos-gamingpc"
|
||||
mennos-laptop: "~/dotfiles/config/ssh/authorized_keys/mennos-laptop"
|
||||
homeserver-pc: "~/dotfiles/config/ssh/authorized_keys/homeserver-pc"
|
||||
wsl: "~/dotfiles/config/ssh/authorized_keys/wsl"
|
||||
mennos-hobbypc: "~/dotfiles/config/ssh/authorized_keys/mennos-hobbypc"
|
||||
|
@ -83,13 +83,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
"homeserver-pc" = home-manager.lib.homeManagerConfiguration {
|
||||
"mennos-hobbypc" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
extraSpecialArgs = {
|
||||
inherit pkgs pkgs-unstable;
|
||||
isServer = true;
|
||||
hostname = "homeserver-pc";
|
||||
hostname = "mennos-hobbypc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -32,16 +32,19 @@
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# Set nemo as the default file manager and disable desktop icons since this is handled by nemo
|
||||
"org/gnome/desktop/background" = {
|
||||
show-desktop-icons = false;
|
||||
show-desktop-icons = true;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/applications/file-manager" = {
|
||||
exec = "nemo";
|
||||
exec = "nautilus";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
font-name = "Hack Nerd Font 11";
|
||||
monospace-font-name = "Hack Nerd Font Mono 10";
|
||||
document-font-name = "Hack Nerd Font 11";
|
||||
};
|
||||
|
||||
# Pinned apps
|
||||
|
@ -3,3 +3,6 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
||||
|
||||
# Samsung S24U
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMSJwfqOZQxGDbM07JziQeBNirvQxhFd6nEwWPjy1zCo u0_a555@localhost
|
||||
|
||||
# Menno's 2025 SSH Key
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE22Hfx8wgkc57TXX1TCMHcNrCdjbfog5QeHFJfl7IeD mennos-2025-sshkey
|
||||
|
@ -3,3 +3,6 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
||||
|
||||
# Samsung S24U
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMSJwfqOZQxGDbM07JziQeBNirvQxhFd6nEwWPjy1zCo u0_a555@localhost
|
||||
|
||||
# Menno's 2025 SSH Key
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE22Hfx8wgkc57TXX1TCMHcNrCdjbfog5QeHFJfl7IeD mennos-2025-sshkey
|
@ -3,3 +3,6 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
||||
|
||||
# Samsung S24U
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMSJwfqOZQxGDbM07JziQeBNirvQxhFd6nEwWPjy1zCo u0_a555@localhost
|
||||
|
||||
# Menno's 2025 SSH Key
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE22Hfx8wgkc57TXX1TCMHcNrCdjbfog5QeHFJfl7IeD mennos-2025-sshkey
|
||||
|
@ -3,3 +3,6 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
||||
|
||||
# Samsung S24U
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMSJwfqOZQxGDbM07JziQeBNirvQxhFd6nEwWPjy1zCo u0_a555@localhost
|
||||
|
||||
# Menno's 2025 SSH Key
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE22Hfx8wgkc57TXX1TCMHcNrCdjbfog5QeHFJfl7IeD mennos-2025-sshkey
|
||||
|
@ -1,4 +1,4 @@
|
||||
Host *
|
||||
IdentityAgent ~/.1password/agent.sock
|
||||
IdentityFile ~/dotfiles/secrets/ssh_keys/mennos-2025.pem
|
||||
|
||||
Include ~/.ssh/config.d/*.conf
|
||||
|
Reference in New Issue
Block a user