mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 00:00:44 +01:00
59 lines
983 B
Nix
59 lines
983 B
Nix
{
|
|
inputs,
|
|
inputs',
|
|
flake',
|
|
self,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.home-manager.darwinModules.home-manager
|
|
inputs.darwin-custom-icons.darwinModules.default
|
|
|
|
./modules/nix.nix
|
|
./modules/packages.nix
|
|
./modules/homebrew.nix
|
|
];
|
|
|
|
security.pam.enableSudoTouchIdAuth = true;
|
|
|
|
environment.customIcons = {
|
|
enable = true;
|
|
icons = [
|
|
{
|
|
path = "/Applications/Notion.app";
|
|
icon = ./icons/notion.icns;
|
|
}
|
|
{
|
|
path = "/Applications/Obsidian.app";
|
|
icon = ./icons/obsidian.icns;
|
|
}
|
|
];
|
|
};
|
|
|
|
programs.bash.enable = true;
|
|
programs.fish.enable = true;
|
|
programs.zsh.enable = true;
|
|
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
|
|
extraSpecialArgs = {
|
|
inherit
|
|
self
|
|
flake'
|
|
inputs
|
|
inputs'
|
|
;
|
|
};
|
|
|
|
users.ryanccn = import ./home;
|
|
};
|
|
|
|
users.users.ryanccn = {
|
|
home = "/Users/ryanccn";
|
|
};
|
|
|
|
system.stateVersion = 5;
|
|
}
|