nix-config/machines/macbook/default.nix
larstvei 15da1edc1e Define modules
This makes things a bit more robust against moving around files.
2026-02-22 00:04:35 +01:00

29 lines
464 B
Nix

{
self,
pkgs,
inputs,
...
}:
{
imports = [
self.nixosModules.base
self.darwinModules.base
];
system.primaryUser = "larstvei";
networking.hostName = "larstvei-macbookpro";
users.users.larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.larstvei.imports = [ self.homeModules.full ];
};
}