mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +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
|
|
@ -5,11 +5,11 @@
|
|||
osConfig,
|
||||
...
|
||||
}: let
|
||||
cfg = config.myConfig.dm;
|
||||
cfg = config.myConfig.de;
|
||||
in {
|
||||
imports = [./qtile];
|
||||
|
||||
options.myConfig.dm = {
|
||||
options.myConfig.de = {
|
||||
wallpaper = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
|
|
@ -5,9 +5,9 @@
|
|||
osConfig,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.dm.qtile.enable = lib.mkEnableOption "";
|
||||
options.myConfig.de.qtile.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.dm.qtile.enable {
|
||||
config = lib.mkIf config.myConfig.de.qtile.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = osConfig.services.xserver.windowManager.qtile.enable;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
];
|
||||
|
||||
home.file.".config/qtile/config.py".source = ./qtile.py;
|
||||
home.file.".background-image".source = config.myConfig.dm.wallpaper;
|
||||
home.file.".background-image".source = config.myConfig.de.wallpaper;
|
||||
|
||||
home.packages = [
|
||||
# Widget dependencies
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./dm
|
||||
./de
|
||||
./vscode.nix
|
||||
./shell.nix
|
||||
./theming.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue