18 lines
611 B
Go
18 lines
611 B
Go
package config
|
|
|
|
import (
|
|
"codeberg.org/Pata1704/system_setup_tool/internal/dotfiles"
|
|
pm "codeberg.org/Pata1704/system_setup_tool/pkg/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"`
|
|
}
|