nixos-config/users/foo-dogsquared/default.nix
Gabriel Arazas 516f465185 Update users NixOS module
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.
2021-11-27 19:21:08 +08:00

13 lines
324 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ 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;
}