Separate out user configurations
This commit is contained in:
parent
de67011773
commit
8acdb45ac1
2 changed files with 12 additions and 9 deletions
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
<nixos-hardware/asus/rog-strix/g513im>
|
||||
./hardware-configuration.nix
|
||||
./users.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
@ -15,16 +16,9 @@
|
|||
};
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
users.users = {
|
||||
nettika = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
9
users.nix
Normal file
9
users.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{
|
||||
users.users = {
|
||||
nettika = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue