Files
dotfiles/config/home-manager/home.nix
Menno van Leeuwen 10508b9916
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 32s
Nix Format Check / check-format (push) Failing after 1m24s
Python Lint Check / check-python (push) Failing after 19s
updated nix to 25.05 and fixed setup.sh
Signed-off-by: Menno van Leeuwen <menno@vleeuwen.me>
2025-07-11 00:17:52 +00:00

39 lines
661 B
Nix

{
config,
isServer ? false,
...
}:
{
programs.home-manager.enable = true;
nixpkgs.config = {
allowUnfree = true;
allowUnfreePredicate = pkg: true;
};
imports =
[ ./packages/common/default.nix ]
++ (
if isServer then
[
./packages/server/default.nix
./server/default.nix
]
else
[
./packages/workstation/default.nix
./workstation/default.nix
]
);
home = {
username = "menno";
homeDirectory = "/home/menno";
stateVersion = "25.05";
sessionVariables = {
PATH = "${config.home.homeDirectory}/go/bin:$PATH";
};
};
}