feat: add mac laptop home-manager config

This commit is contained in:
Xavier Morel
2025-06-03 23:22:36 +02:00
parent 3eefb0e8ce
commit 197d3db0ee
3 changed files with 321 additions and 8 deletions

View File

@@ -3,6 +3,8 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -18,7 +20,9 @@
{
self,
nixpkgs,
determinate,
disko,
flake-utils,
...
}@inputs:
let
@@ -32,7 +36,6 @@
nixosConfigurations = {
arcueid = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit system;
inherit inputs;
};
modules = [
@@ -70,6 +73,13 @@
./hosts/work/home.nix
];
};
"xmorel@MacLaptop.local" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
extraSpecialArgs = { inherit inputs; };
modules = [
./hosts/mac-laptop/home.nix
];
};
};
# homeManagerModules.default = ./modules/home-manager;
# nixosModules.default = ./modules/nixos;