18 lines
554 B
Go
18 lines
554 B
Go
package config
|
|
|
|
import (
|
|
"system_setup_tool/dotfiles"
|
|
pm "system_setup_tool/packagemanager"
|
|
)
|
|
|
|
type PackageManagerConfig struct {
|
|
Enable bool `mapstructure:"enable"`
|
|
Packages []string `mapstructure:"packages"`
|
|
}
|
|
|
|
type Config struct {
|
|
Headless bool `mapstructure:"headless"`
|
|
Packages pm.Packages `mapstructure:"packages"`
|
|
PackageManagers map[string]PackageManagerConfig `mapstructure:"package_managers"`
|
|
Dotfiles dotfiles.DotfilesConfig `mapstructure:"dotfiles"`
|
|
}
|