mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-02-23 08:24:49 +01:00
28 lines
743 B
Nix
28 lines
743 B
Nix
{username, ...}: {
|
|
imports = [
|
|
../base/server
|
|
|
|
./base
|
|
];
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
# paths it should manage.
|
|
home = {
|
|
inherit username;
|
|
homeDirectory = "/home/${username}";
|
|
|
|
# This value determines the Home Manager release that your
|
|
# configuration is compatible with. This helps avoid breakage
|
|
# when a new Home Manager release introduces backwards
|
|
# incompatible changes.
|
|
#
|
|
# You can update Home Manager without changing this value. See
|
|
# the Home Manager release notes for a list of state version
|
|
# changes in each release.
|
|
stateVersion = "23.11";
|
|
};
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
}
|