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