feat: add dotfiles-test host configuration and update related tasks
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
@ -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
|
||||
|
@ -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']
|
||||
|
@ -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"
|
||||
|
@ -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 ];
|
||||
|
@ -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 ];
|
||||
|
||||
|
Reference in New Issue
Block a user