Add module for machines located in Spain (keyboard and timezone) using tags
This commit is contained in:
parent
72e1c90b63
commit
d04dad50c7
2 changed files with 13 additions and 0 deletions
8
clan.nix
8
clan.nix
|
@ -4,6 +4,8 @@
|
|||
inventory.machines = {
|
||||
aresix = {
|
||||
deploy.targetHost = "root@[4a6:fed0:59ba:507d:baab:15f3:846d:ead4]";
|
||||
tags = ["server" "headless" "spain"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -37,6 +39,12 @@
|
|||
roles.default.extraModules = [./users/pedro/home.nix];
|
||||
};
|
||||
|
||||
spain-located = {
|
||||
module.name = "importer";
|
||||
roles.default.tags.desktop = {};
|
||||
roles.default.extraModules = ["modules/spain.nix"];
|
||||
};
|
||||
|
||||
# Docs: https://docs.clan.lol/reference/clanServices/mycelium/
|
||||
mycelium = {
|
||||
roles.peer.tags.all = {};
|
||||
|
|
5
modules/spain.nix
Normal file
5
modules/spain.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
time.timeZone = "Europe/Madrid";
|
||||
console.keyMap = "es";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue