This commit is contained in:
Frost-Phoenix 2023-11-05 17:16:35 +01:00
parent e0e976077d
commit 0f3e53a01a
2 changed files with 2 additions and 6 deletions

View file

@ -5,8 +5,6 @@
let let
name = "FrostPhoenix"; name = "FrostPhoenix";
username = "frostphoenix"; username = "frostphoenix";
#email = "t@gmail.com";
initialPassword = "dreamX";
packages = with pkgs; [ packages = with pkgs; [
fish fish
]; ];
@ -28,11 +26,9 @@ in
users.users.${username} = { users.users.${username} = {
isNormalUser = true; isNormalUser = true;
initialPassword = initialPassword;
description = name; description = name;
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.users.root.initialPassword = initialPassword; nix.settings.allowed-users = [ ${username} ];
nix.settings.allowed-users = [ "frostphoenix" ];
} }

View file

@ -2,7 +2,7 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
layout = "us"; layout = "us";
videoDrivers = [ "amdgpu" ]; # videoDrivers = [ "amdgpu" ];
displayManager.autoLogin = { displayManager.autoLogin = {
enable = true; enable = true;
user = "frostphoenix"; user = "frostphoenix";