From 04c27738ca0ead5c9b4ef20f5ced2a8e144b2703 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 24 Feb 2023 18:36:29 +0100 Subject: [PATCH] Move user to module system --- systems/x86_64-linux/kami/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/systems/x86_64-linux/kami/default.nix b/systems/x86_64-linux/kami/default.nix index 5e364ec..7a4b597 100644 --- a/systems/x86_64-linux/kami/default.nix +++ b/systems/x86_64-linux/kami/default.nix @@ -90,16 +90,8 @@ # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; - users.users.jopejoe1 = { - isNormalUser = true; - description = "jopejoe1"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ - firefox - kate - # thunderbird - ]; - }; + custom.user.jopejoe1.enable =true; + custom.user.root.enable =true; # Define a user account. Don't forget to set a password with ‘passwd’. # users.users.alice = { # isNormalUser = true;