Facted out core config
This commit is contained in:
parent
16d3e7e80a
commit
c549c3be71
2 changed files with 29 additions and 35 deletions
23
.config/nixos/configuration.def.nix
Normal file
23
.config/nixos/configuration.def.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./core.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nix";
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.nixos = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ # User implicitly in "users" group
|
||||
"wheel" # Sudo priviledges
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
|
||||
# Set so when mutableUsers is set to "false", the user still has a way to login.
|
||||
password = "";
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue