mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Reorg
This commit is contained in:
parent
03b3066880
commit
6768bdb19e
9 changed files with 104 additions and 36 deletions
67
dot_config/flake/machines/hinge/darwin.nix
Normal file
67
dot_config/flake/machines/hinge/darwin.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# ../fish.nix
|
||||
./sketchybar.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.modifications
|
||||
outputs.overlays.unstable-packages
|
||||
inputs.helix.overlays.default
|
||||
];
|
||||
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
hostPlatform = "aarch64-darwin";
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
# nix.extraOptions =
|
||||
# ''
|
||||
# auto-optimise-store = true
|
||||
# experimental-features = nix-command flakes
|
||||
# ''
|
||||
# + lib.optionalString (pkgs.system == "aarch64-darwin") ''
|
||||
# extra-platforms = x86_64-darwin aarch64-darwin
|
||||
# '';
|
||||
|
||||
users.knownUsers = ["tyler.mayoff"];
|
||||
users.users."tyler.mayoff" = {
|
||||
uid = 502;
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain._HIHideMenuBar = true;
|
||||
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pinentry_mac
|
||||
llvmPackages_19.clang-tools
|
||||
|
||||
sketchybar
|
||||
# sbarlua
|
||||
|
||||
lua
|
||||
|
||||
# android-tools
|
||||
jdk17
|
||||
];
|
||||
|
||||
# services.aerospace.enable = true;
|
||||
|
||||
programs.fish.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
||||
system.stateVersion = 5;
|
||||
}
|
||||
48
dot_config/flake/machines/hinge/home.nix
Normal file
48
dot_config/flake/machines/hinge/home.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
# ../../home/stylix.nix
|
||||
../../home/common.nix
|
||||
../../home/kitty.nix
|
||||
];
|
||||
|
||||
# xdg.enable = lib.mkForce false;
|
||||
|
||||
home = {
|
||||
username = "tyler.mayoff";
|
||||
# homeDirectory = /Users/tyler.mayoff;
|
||||
|
||||
packages = with pkgs; [
|
||||
bazel_7
|
||||
cmake
|
||||
conan
|
||||
|
||||
black
|
||||
|
||||
swiftlint
|
||||
unstable.helix-gpt
|
||||
unstable.lsp-ai
|
||||
python312Packages.python-lsp-server
|
||||
typescript-language-server
|
||||
cmake-language-server
|
||||
jdt-language-server
|
||||
ffmpeg
|
||||
sccache
|
||||
just
|
||||
yarn
|
||||
cocoapods
|
||||
];
|
||||
|
||||
sessionVariables = {
|
||||
ANDROID_HOME = "/Users/tyler.mayoff/Library/Android/sdk";
|
||||
PATH = "$PATH:/Users/tyler.mayoff/Library/Android/sdk/platform-tools";
|
||||
};
|
||||
|
||||
file.".gnupg/gpg-agent.conf".text = ''
|
||||
pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
|
||||
'';
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
6
dot_config/flake/machines/hinge/sketchybar.nix
Normal file
6
dot_config/flake/machines/hinge/sketchybar.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
# services.sketchybar = {
|
||||
# enable = true;
|
||||
# extraPackages = [];
|
||||
# };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue