move user creation to me.nix

This commit is contained in:
NullBite 2023-12-28 02:32:18 -05:00
parent d390d659a9
commit 1f85bc2871
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
3 changed files with 22 additions and 18 deletions

View File

@ -17,8 +17,9 @@
./hosts/slab/configuration.nix
./hosts/slab/nvidia-optimus.nix
./roles/base.nix
./roles/desktop.nix
./roles/me.nix
./roles/remote.nix
./roles/desktop.nix
];
};
};

View File

@ -11,23 +11,6 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
users.users.nullbite = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
keychain
];
initialPassword = "changeme";
shell = pkgs.zsh;
};
# shell config
programs.zsh.enable = true;
programs.fzf = {
keybindings = true;
fuzzyCompletion = true;
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [

20
roles/me.nix Normal file
View File

@ -0,0 +1,20 @@
{ config, lib, pkgs, ...}:
{
users.users.nullbite = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
keychain
];
initialPassword = "changeme";
shell = pkgs.zsh;
};
# shell config
programs.zsh.enable = true;
programs.fzf = {
keybindings = true;
fuzzyCompletion = true;
};
}