mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
localModules -> local
moved keys to their own module updated nix switching pinning method
This commit is contained in:
parent
2057ff5d17
commit
160a5c3ffe
24 changed files with 187 additions and 109 deletions
|
|
@ -3,7 +3,7 @@ _: {
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
options.localModules.DM = {
|
||||
options.local.DM = {
|
||||
autoLogin = lib.mkEnableOption "";
|
||||
loginUser = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
|
|
@ -11,11 +11,11 @@ _: {
|
|||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.localModules.DM.autoLogin {
|
||||
config = lib.mkIf config.local.DM.autoLogin {
|
||||
services.xserver.displayManager = {
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = config.localModules.DM.loginUser;
|
||||
user = config.local.DM.loginUser;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue