feat: todos, decman config almost complete
This commit is contained in:
@@ -11,33 +11,41 @@ class BasePackages(decman.Module):
|
||||
def pkgs(self) -> set[str]:
|
||||
return {
|
||||
"base",
|
||||
"base-devel",
|
||||
"cifs",
|
||||
"cups",
|
||||
"efibootmgr",
|
||||
"git",
|
||||
"grub",
|
||||
"linux",
|
||||
"linux-firmware",
|
||||
"linux-headers",
|
||||
"mesa",
|
||||
"mesa-utils",
|
||||
"networkmanager",
|
||||
"git",
|
||||
"paccache",
|
||||
"plymouth",
|
||||
"reflector",
|
||||
"sudo",
|
||||
"systemd-resolvconf",
|
||||
"trash-cli",
|
||||
"base-devel",
|
||||
"cifs",
|
||||
"reflector",
|
||||
"paccache",
|
||||
"plymouth"
|
||||
}
|
||||
|
||||
@aur.packages
|
||||
def aurpkgs(self) -> set[str]:
|
||||
return {"decman"}
|
||||
|
||||
# TODO:
|
||||
# def file_variables(self) -> dict[str, str]:
|
||||
# return super().file_variables()
|
||||
|
||||
def files(self) -> dict[str, decman.File]:
|
||||
# TODO: File substitutions (for PC and laptop)
|
||||
return {
|
||||
"/etc/mkinitcpio.conf": decman.File(source_file="./system/mkinitcpio.conf"),
|
||||
"/etc/pacman.conf": decman.File(source_file="./system/pacman.conf"),
|
||||
"/etc/default/grub": decman.File(source_file="./system/grub"),
|
||||
"/etc/environment": decman.File(source_file="./system/environment"),
|
||||
}
|
||||
|
||||
def on_change(self, store):
|
||||
|
||||
Reference in New Issue
Block a user