mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 06:54:25 +01:00
Fix mistaken desktop environment module name
This commit is contained in:
parent
7499e9dc5e
commit
08896fce36
5 changed files with 7 additions and 7 deletions
41
modules/home/de/qtile/default.nix
Normal file
41
modules/home/de/qtile/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
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.file.".config/qtile/config.py".source = ./qtile.py;
|
||||
home.file.".background-image".source = config.myConfig.de.wallpaper;
|
||||
|
||||
home.packages = [
|
||||
# Widget dependencies
|
||||
pkgs.python311Packages.iwlib
|
||||
pkgs.python311Packages.psutil
|
||||
pkgs.lm_sensors
|
||||
|
||||
# Hotkey dependencies
|
||||
pkgs.playerctl
|
||||
pkgs.brightnessctl
|
||||
];
|
||||
|
||||
myConfig.rofi.enable = true;
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
vSync = true;
|
||||
};
|
||||
|
||||
services.dunst.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue