mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 10:14:25 +01:00
Remove all references to the osConfig in HM modules
This commit is contained in:
parent
c85e7fb85d
commit
968b5bfa86
2 changed files with 2 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue