Skip to content

Commit

Permalink
fix(nixps): services.{xserver.displayManager -> displayManager}
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq committed May 30, 2024
1 parent 9499336 commit 07d09d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.16.2
8.16.3
8 changes: 4 additions & 4 deletions machines/nixps/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ in
${username} ALL=(ALL) NOPASSWD: ALL
'';
};
services.displayManager.autoLogin = {
enable = true;
user = username;
};
services.xserver = {
displayManager.autoLogin = {
enable = true;
user = username;
};
monitorSection = ''
DisplaySize 508 285
'';
Expand Down
12 changes: 8 additions & 4 deletions src/machines/nixps/configuration.nw
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ in
<<Configure networking>>
<<Configure Nix>>
<<Configure sudo>>
<<Configure displayManager>>
<<Configure X Server>>
<<Configure user>>
virtualisation.libvirtd.enable = true;
Expand Down Expand Up @@ -147,12 +148,15 @@ security.sudo = {
};
@

<<Configure displayManager>>=
services.displayManager.autoLogin = {
enable = true;
user = username;
};
@

<<Configure X Server>>=
services.xserver = {
displayManager.autoLogin = {
enable = true;
user = username;
};
monitorSection = ''
DisplaySize 508 285
'';
Expand Down

0 comments on commit 07d09d6

Please sign in to comment.