from cfgtools.files import EnvironmentFile, XDGConfigFile from cfgtools.system.arch import AUR from cfgtools.system.nix import NixPkgBin packages = {AUR("./aur/pkgs/cli-utils"), NixPkgBin("bat")} files = [ XDGConfigFile(f"{__name__}/config"), EnvironmentFile(__name__), ]
from cfgtools.files import (HOME, EnvironmentFile, UserBin, XDGConfigFile, normalize) from cfgtools.system.arch import Pacman from cfgtools.system.ubuntu import Apt NAME = normalize(__name__) packages = {Pacman("tmux"), Apt("tmux")} files = [ XDGConfigFile(f"{NAME}/tmux.conf", "tmux/tmux.conf"), EnvironmentFile(NAME), UserBin(f"{NAME}/wrapper.sh", "tmux") ]