Separate out user configurations

This commit is contained in:
2024-06-10 20:49:50 -07:00
parent de67011773
commit 8acdb45ac1
2 changed files with 12 additions and 9 deletions

View File

@@ -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
View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, modulesPath, ... }:
{
users.users = {
nettika = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
};
};
}