Remove all references to the osConfig in HM modules

This commit is contained in:
SebastianStork 2024-04-02 18:40:35 +02:00
parent c85e7fb85d
commit 968b5bfa86
2 changed files with 2 additions and 27 deletions

View file

@ -2,19 +2,11 @@
config,
pkgs,
lib,
osConfig,
...
}: {
options.myConfig.de.qtile.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.de.qtile.enable {
assertions = [
{
assertion = osConfig.services.xserver.windowManager.qtile.enable;
message = "Qtile has to be enabled on the system level";
}
];
home.packages = [
# Widget dependencies
pkgs.python311Packages.iwlib
@ -28,6 +20,8 @@
home.file.".background-image".source = config.myConfig.de.wallpaper;
xsession.enable = true;
myConfig.rofi = {
enable = true;
clipboard.enable = true;