Files
dotfiles/home.nix
Menno van Leeuwen c659c599f4
Some checks failed
Ansible Lint Check / check-ansible (push) Successful in 5s
Nix Format Check / check-format (push) Successful in 1m14s
Python Lint Check / check-python (push) Failing after 6s
fixed formatting
2025-09-23 13:35:37 +00:00

43 lines
710 B
Nix

{
config,
isServer ? false,
opnix,
...
}:
{
programs.home-manager.enable = true;
nixpkgs.config = {
allowUnfree = true;
allowUnfreePredicate = pkg: true;
};
imports = [
opnix.homeManagerModules.default
./config/default.nix
./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";
};
};
}