mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
516f465185
Welp, that's one step for more convenient and separate user-specific configuration. It's a tad simpler than https://github.com/divnix/devos but I want to work my way towards a similar setup. It's just a little overwhelming starting with that framework.
13 lines
324 B
Nix
13 lines
324 B
Nix
{ config, options, lib, pkgs, ... }:
|
||
|
||
{
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.foo-dogsquared = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||
};
|
||
|
||
home-manager.useUserPackages = true;
|
||
home-manager.useGlobalPkgs = true;
|
||
}
|