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

This commit is contained in:
2025-01-28 15:16:07 +01:00
parent 79179aaaec
commit 8b51d375e5
13 changed files with 54 additions and 18 deletions

View File

@ -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

View File

@ -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']

View File

@ -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"

View File

@ -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";
};
};
};

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
Host *
IdentityAgent ~/.1password/agent.sock
IdentityFile ~/dotfiles/secrets/ssh_keys/mennos-2025.pem
Include ~/.ssh/config.d/*.conf