35 lines
982 B
Nix
35 lines
982 B
Nix
|
{
|
||
|
description = "Home Manager configuration of millironx";
|
||
|
|
||
|
inputs = {
|
||
|
# Specify the source of Home Manager and Nixpkgs.
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager/release-24.11";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
agenix = {
|
||
|
url = "github:ryantm/agenix";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = { nixpkgs, home-manager, agenix, ... }:
|
||
|
let
|
||
|
system = "aarch64-darwin";
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in {
|
||
|
homeConfigurations."millironx" =
|
||
|
home-manager.lib.homeManagerConfiguration {
|
||
|
inherit pkgs;
|
||
|
|
||
|
# Specify your home configuration modules here, for example,
|
||
|
# the path to your home.nix.
|
||
|
modules = [ ./home.nix agenix.homeManagerModules.default ];
|
||
|
|
||
|
# Optionally use extraSpecialArgs
|
||
|
# to pass through arguments to home.nix
|
||
|
};
|
||
|
};
|
||
|
}
|