feat: add dotfiles-test host configuration and update related tasks
Some checks failed
Nix Format Check / check-format (push) Failing after 38s

This commit is contained in:
2025-03-12 10:08:59 +01:00
parent b43fe925ec
commit 63a63e7dae
18 changed files with 19 additions and 390223 deletions

View File

@ -6,3 +6,4 @@ mennos-desktop ansible_connection=local
mennos-server ansible_connection=local
mennos-hobbypc ansible_connection=local
mennos-vm ansible_connection=local
dotfiles-test ansible_connection=local

View File

@ -15,4 +15,4 @@
- name: Include server tasks
ansible.builtin.import_tasks: tasks/servers/server.yml
when: hostname in ['mennos-server', 'mennos-hobbypc', 'mennos-vm']
when: hostname in ['mennos-server', 'mennos-hobbypc', 'mennos-vm', 'dotfiles-test']

View File

@ -30,6 +30,7 @@
mennos-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
mennos-vm: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
mennos-hobbypc: "$DOTFILES_PATH/config/git/gitconfig.linux"
dotfiles-test: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
- name: Create SSH authorized_keys symlink
ansible.builtin.file:
@ -45,3 +46,4 @@
mennos-server: "$DOTFILES_PATH/config/ssh/authorized_keys/mennos-server"
mennos-vm: "$DOTFILES_PATH/config/ssh/authorized_keys/mennos-server"
mennos-hobbypc: "$DOTFILES_PATH/config/ssh/authorized_keys/mennos-hobbypc"
dotfiles-test: "$DOTFILES_PATH/config/ssh/authorized_keys/mennos-server"

View File

@ -57,6 +57,19 @@
};
};
"dotfiles-test" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
extraSpecialArgs = {
inherit
pkgs
pkgs-unstable
;
isServer = true;
hostname = "dotfiles-test";
};
};
"mennos-vm" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];

View File

@ -13,6 +13,8 @@
[ ./hosts/mennos-laptop.nix ]
else if hostname == "mennos-server" then
[ ./hosts/mennos-server.nix ]
else if hostname == "dotfiles-test" then
[ ./hosts/mennos-server.nix ]
else
[ ./hosts/fallback.nix ];