move user creation to me.nix
This commit is contained in:
parent
d390d659a9
commit
1f85bc2871
@ -17,8 +17,9 @@
|
|||||||
./hosts/slab/configuration.nix
|
./hosts/slab/configuration.nix
|
||||||
./hosts/slab/nvidia-optimus.nix
|
./hosts/slab/nvidia-optimus.nix
|
||||||
./roles/base.nix
|
./roles/base.nix
|
||||||
./roles/desktop.nix
|
./roles/me.nix
|
||||||
./roles/remote.nix
|
./roles/remote.nix
|
||||||
|
./roles/desktop.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -11,23 +11,6 @@
|
|||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
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:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
20
roles/me.nix
Normal file
20
roles/me.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user