megabyte-labs / install.doctor

A glorious combination of application / theme settings and a performant cross-platform, desktop-oriented software suite.
https://megabyte.space
Other
100 stars 22 forks source link

Populate Chasis Type in `.chezmoi.yaml.tmpl` #16

Open ProfessorManhattan opened 1 year ago

ProfessorManhattan commented 1 year ago

💡 Feature/Idea

In home/.chezmoi.yaml.tmpl there is a section that determines whether the environment is a desktop or laptop (or other like WSL).

The following line needs to be completed to set the variable equal to either laptop or desktop based on the system properties:

{{-     $chassisType = "todo-get-from-hostnamectl" }}

:thumbsup: Can you contribute?

No response