fix: add mennos-cachyos-laptop host to configurations
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
[workstations]
|
[workstations]
|
||||||
mennos-laptop-w ansible_connection=local
|
mennos-laptop-w ansible_connection=local
|
||||||
|
mennos-cachyos-laptop ansible_connection=local
|
||||||
mennos-desktop ansible_connection=local
|
mennos-desktop ansible_connection=local
|
||||||
mennos-cachyos-desktop ansible_connection=local
|
mennos-cachyos-desktop ansible_connection=local
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
- name: Include workstation tasks
|
- name: Include workstation tasks
|
||||||
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
|
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
|
||||||
when: inventory_hostname in ['mennos-laptop-w', 'mennos-desktop', 'mennos-cachyos-desktop']
|
when: inventory_hostname in ['mennos-laptop-w', 'mennos-cachyos-laptop', 'mennos-desktop', 'mennos-cachyos-desktop']
|
||||||
|
|
||||||
- name: Include server tasks
|
- name: Include server tasks
|
||||||
ansible.builtin.import_tasks: tasks/servers/server.yml
|
ansible.builtin.import_tasks: tasks/servers/server.yml
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
gitconfig_mapping:
|
gitconfig_mapping:
|
||||||
mennos-desktop: "$DOTFILES_PATH/config/git/gitconfig.wsl"
|
mennos-desktop: "$DOTFILES_PATH/config/git/gitconfig.wsl"
|
||||||
mennos-cachyos-desktop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
mennos-cachyos-desktop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
||||||
|
mennos-cachyos-laptop: "$DOTFILES_PATH/config/git/gitconfig.linux"
|
||||||
mennos-laptop-w: "$DOTFILES_PATH/config/git/gitconfig.wsl"
|
mennos-laptop-w: "$DOTFILES_PATH/config/git/gitconfig.wsl"
|
||||||
mennos-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
mennos-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
||||||
mennos-cloud-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
mennos-cloud-server: "$DOTFILES_PATH/config/git/gitconfig.mennos-server"
|
||||||
|
6
config/home-manager/flake.lock
generated
6
config/home-manager/flake.lock
generated
@@ -57,11 +57,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752480373,
|
"lastModified": 1752687322,
|
||||||
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
|
"narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
|
"rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -47,6 +47,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"mennos-cachyos-laptop" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [ ./home.nix ];
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit
|
||||||
|
pkgs
|
||||||
|
pkgs-unstable
|
||||||
|
opnix
|
||||||
|
;
|
||||||
|
isServer = false;
|
||||||
|
hostname = "mennos-cachyos-laptop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"mennos-desktop" = home-manager.lib.homeManagerConfiguration {
|
"mennos-desktop" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./home.nix ];
|
modules = [ ./home.nix ];
|
||||||
|
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs-unstable, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs-unstable; [ ];
|
||||||
|
}
|
@@ -13,6 +13,8 @@
|
|||||||
[ ./hosts/mennos-cachyos-desktop.nix ]
|
[ ./hosts/mennos-cachyos-desktop.nix ]
|
||||||
else if hostname == "mennos-laptop-w" then
|
else if hostname == "mennos-laptop-w" then
|
||||||
[ ./hosts/mennos-laptop-w.nix ]
|
[ ./hosts/mennos-laptop-w.nix ]
|
||||||
|
else if hostname == "mennos-cachyos-laptop" then
|
||||||
|
[ ./hosts/mennos-cachyos-laptop.nix ]
|
||||||
else if hostname == "mennos-server" then
|
else if hostname == "mennos-server" then
|
||||||
[ ./hosts/mennos-server.nix ]
|
[ ./hosts/mennos-server.nix ]
|
||||||
else if hostname == "mennos-cloud-server" then
|
else if hostname == "mennos-cloud-server" then
|
||||||
|
Reference in New Issue
Block a user