change username to a global var

This commit is contained in:
Frost-Phoenix 2023-12-15 19:00:46 +01:00
parent f080989d8b
commit d17afc3fb3
6 changed files with 9 additions and 11 deletions

View file

@ -1,11 +1,11 @@
{ pkgs, ... }:
{ pkgs, username, ... }:
{
services.xserver = {
enable = true;
layout = "us";
displayManager.autoLogin = {
enable = true;
user = "frostphoenix";
user = ${username};
};
libinput = {
enable = true;