Skip to main content

User Profile

For operator platforms, there will always be a user profile under the /home/username. While the user profile is up to operator to configure, we do have some standardization of the profile in order to share the best configuration for all operators.

It is recommended that you create your own Git repository to track your home configuration. Take note not to push up any sensitive information.

Root Account

The root account is disabled by default. Howver the main operator user will have wheel privileges.

passwd --lock root

To unlock the root account (you shouldn't do this unless you really need to:)

passwd --unlock root

Timezone

To set the timezone:

timedatectl set-timezone 'Australia/Sydney'
timedatectl set-timezone 'US/Central'

This will be persisted upon reboots.

Home Manager

The initial /etc/skel will be used to prefill the Home Manager configuration located at .config/home-manager with flake.nix and home.nix. In case this isn't working yet, copy the relevant files from https://github.com/CMCDragonkai/.dotfiles-nixos/tree/master/.config/home-manager. Update the flake.nix with your user profile username.

You only need to update the home.nix with your desired packages and user-level services. These packages will exist as part of your user-profile, but they will not be available to any other user profiles.

How to add new packages

You can use https://mynixos.com or https://search.nixos.org/packages to find packages of your choice.

When you're ready perform this to update your user profile:

home-manager switch

Updating packages

To perform an update, you can do home-manager switch --refresh.

User Level Services

User level services are also configured here. For example the Polykey user level service can be viewed with:

systemctl status --user polykey

Additional Home Manager documentation