-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix.in
More file actions
41 lines (37 loc) · 1.27 KB
/
flake.nix.in
File metadata and controls
41 lines (37 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Based on https://github.com/nix-community/home-manager#nix-flakes
{
description = "Home Manager flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nix-darwin.url = "github:LnL7/nix-darwin/nix-darwin-25.05";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-25.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { nixpkgs, nix-darwin, home-manager, ... } @ inputs: {
darwinConfigurations."HOSTNAME" = nix-darwin.lib.darwinSystem {
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
modules = [ ./darwin-configuration.nix ];
};
homeConfigurations = {
rlmbp2025 = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
modules = [
./home-manager/modules/home-manager.nix
./home-manager/modules/common.nix
./home-manager/modules/git.nix
./home-manager/modules/ssh.nix
./home-manager/modules/zsh.nix
./home-manager/mac.nix
{
home = {
username = "USERNAME";
homeDirectory = "/Users/USERNAME";
stateVersion = "25.05";
};
}
];
};
};
};
}