This commit is contained in:
Leon Kowarschick 2025-02-03 11:14:54 +01:00
parent 1ef84dc9f2
commit 946e01cfee
Signed by: ElKowar
GPG key ID: 72C759DA738DE3A2

View file

@ -1,17 +1,18 @@
export const device = #{
thinkix: SYSTEM.hostname == "thinkix",
desktop: SYSTEM.hostname == "fedora.fritz.box" ||SYSTEM.hostname == "fedora",
laptop: SYSTEM.hostname == "thinkix" || SYSTEM.hostname == "frissnix",
desktop: SYSTEM.hostname == "fedora.fritz.box" || SYSTEM.hostname == "fedora",
laptop: SYSTEM.hostname == "thinkix"
|| SYSTEM.hostname == "frissnix"
|| SYSTEM.device_name == "Matthiass MacBook Pro",
linux: SYSTEM.platform == "Linux",
windows: SYSTEM.platform == "Windows",
macbook: "Matthiass-MacBook-Pro" in SYSTEM.hostname,
kenbun: "Matthiass-MacBook-Pro" in SYSTEM.hostname,
macbook: SYSTEM.device_name == "Matthiass MacBook Pro",
kenbun: SYSTEM.device_name == "Matthiass MacBook Pro",
};
private fn merge_into_home(enabled, templates) {
#{ enabled: enabled, targets: "~", strategy: "merge", templates: templates }
}