refactor(packagemanager,cli,tui): move packages in specific subfolders

This commit is contained in:
Patryk Hegenberg 2025-02-04 16:11:03 +01:00
parent 11b8541630
commit e49138fdd2
34 changed files with 18 additions and 18 deletions

18
internal/config/config.go Normal file
View file

@ -0,0 +1,18 @@
package config
import (
"system_setup_tool/internal/dotfiles"
pm "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"`
}