Mildly insane argument passing to modules

This commit is contained in:
Gerg-L 2024-06-12 23:05:45 -04:00
parent 5254992a3a
commit 03fe49b85a
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
32 changed files with 134 additions and 164 deletions

View file

@ -1,5 +1,4 @@
{ _file }:
{ config, lib, ... }:
{ config, lib }:
{
options.local.DM = {
autoLogin = lib.mkEnableOption "";
@ -17,5 +16,4 @@
};
};
};
inherit _file;
}

View file

@ -1,5 +1,9 @@
{ self, _file }:
{ config, lib, ... }:
{
self',
config,
lib,
}:
{
options.local.DM.lightdm.enable = lib.mkEnableOption "";
@ -7,7 +11,7 @@
services.xserver.displayManager = {
lightdm = {
enable = true;
background = "${self.packages.images}/recursion.png";
background = "${self'.packages.images}/recursion.png";
extraConfig = "minimum-vt=1";
greeters.mini = {
enable = true;
@ -41,5 +45,4 @@
};
};
};
inherit _file;
}