feat: todos, decman config almost complete

This commit is contained in:
2026-06-14 17:58:00 +02:00
parent e74b162b91
commit 04a5d8919c
32 changed files with 1632 additions and 72 deletions
+21 -2
View File
@@ -17,12 +17,31 @@ class DevTools(decman.Module):
"docker-buildx",
"docker-compose",
"filezilla",
"kitty",
"lazygit",
"git-lfs",
"hugo",
"kitty",
"lazygit",
"meld",
"minisign",
"python-argcomplete",
"python-black",
"python-build",
"python-colorama",
"python-install",
"python-jsonschema",
"python-pip",
"python-numpy",
"python-scipy",
"python-sympy",
"serpl",
"terminator",
}
def directories(self) -> dict[str, decman.Directory]:
return {
"~/.config/lazygit": decman.Directory("./config/lazygit"),
"~/.config/kitty": decman.Directory("./config/kitty"),
}
def files(self) -> dict[str, decman.File]:
return {"~/.indentconfig.yaml": decman.File("./linters/indentconfig.yaml")}
+9 -5
View File
@@ -12,12 +12,16 @@ class Games(decman.Module):
return {
"android-udev",
"android-tools",
"lib32-vulkan-radeon",
"vulkan-radeon",
"steam",
"prismlauncher",
"gamemmode",
"gamemode",
"gamescope",
# "lib32-vulkan-radeon",
"lovr",
"obs-studio",
"obs-studio-plugin-browser",
"prismlauncher",
"steam",
"vulkan-radeon",
"v4l2loopback-dkms",
}
@aur.packages
+1 -1
View File
@@ -2,7 +2,7 @@ import decman
from decman.plugins import aur
class BasePackages(decman.Module):
class SteeringWheel(decman.Module):
def __init__(self):
"""Base packages that should never be uninstalled"""
super().__init__("steering-wheel")
@@ -0,0 +1,23 @@
import decman
from decman.plugins import pacman
class VirtualMachines(decman.Module):
def __init__(self, user: str):
"""Set up virtual machines"""
self._user = user
super().__init__("virtualmachines")
@pacman.packages
def pkgs(self) -> set[str]:
return {
"dnsmasq",
"ebtables",
"qemu-base",
"vde2" "virt-manager",
"virt-viewer",
}
def on_enable(self, store: decman.Store):
# TODO: Everywhere, make user configurable
decman.prg(["usermod", "-G", "libvirt", "-a", self._user])