From 0f3e53a01a51215ff689c44cf8e18856ae0546e7 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 5 Nov 2023 17:16:35 +0100 Subject: [PATCH] clean up --- modules/core/user.nix | 6 +----- modules/core/xserver.nix | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/core/user.nix b/modules/core/user.nix index 2001797..c083df2 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -5,8 +5,6 @@ let name = "FrostPhoenix"; username = "frostphoenix"; - #email = "t@gmail.com"; - initialPassword = "dreamX"; packages = with pkgs; [ fish ]; @@ -28,11 +26,9 @@ in users.users.${username} = { isNormalUser = true; - initialPassword = initialPassword; description = name; extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.zsh; }; - users.users.root.initialPassword = initialPassword; - nix.settings.allowed-users = [ "frostphoenix" ]; + nix.settings.allowed-users = [ ${username} ]; } diff --git a/modules/core/xserver.nix b/modules/core/xserver.nix index 2cd18bc..cbdcd20 100644 --- a/modules/core/xserver.nix +++ b/modules/core/xserver.nix @@ -2,7 +2,7 @@ services.xserver = { enable = true; layout = "us"; - videoDrivers = [ "amdgpu" ]; + # videoDrivers = [ "amdgpu" ]; displayManager.autoLogin = { enable = true; user = "frostphoenix";