2024-08-25 02:06:49 +00:00
|
|
|
{ pkgs, lib, ... }:
|
2024-07-16 15:50:05 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../home/modules
|
|
|
|
];
|
|
|
|
|
2024-07-21 19:50:12 +00:00
|
|
|
snowhawk = {
|
|
|
|
alacritty.enable = true;
|
2024-12-06 03:42:56 +00:00
|
|
|
kitty.enable = true;
|
2024-07-21 19:50:12 +00:00
|
|
|
macos.enable = true;
|
2024-08-07 12:50:32 +00:00
|
|
|
sources.enable = true;
|
2024-08-21 00:50:09 +00:00
|
|
|
projects.enable = true;
|
2024-07-21 19:50:12 +00:00
|
|
|
ssh = {
|
|
|
|
enable = true;
|
|
|
|
homeNetwork = true;
|
|
|
|
};
|
2024-08-25 01:51:16 +00:00
|
|
|
neovim.enable = true;
|
2024-07-28 14:09:10 +00:00
|
|
|
sops.enable = true;
|
2024-11-15 18:14:40 +00:00
|
|
|
direnv.enable = true;
|
2024-07-16 15:50:05 +00:00
|
|
|
};
|
2024-07-16 16:15:30 +00:00
|
|
|
|
2024-11-24 22:35:48 +00:00
|
|
|
# nixpkgs.overlays = [
|
|
|
|
# (final: prev: {
|
|
|
|
# tmux = prev.tmux.overrideAttrs (old: rec {
|
|
|
|
# version = "3.5";
|
|
|
|
# src = prev.fetchFromGitHub {
|
|
|
|
# owner = "tmux";
|
|
|
|
# repo = "tmux";
|
|
|
|
# rev = version;
|
|
|
|
# hash = "sha256-8CRZj7UyBhuB5QO27Y+tHG62S/eGxPOHWrwvh1aBqq0=";
|
|
|
|
# };
|
|
|
|
# });
|
|
|
|
# })
|
|
|
|
# ];
|
|
|
|
|
|
|
|
# programs.tmux.extraConfig = ''
|
|
|
|
# set -gu default-command
|
|
|
|
# set -g default-shell "$SHELL"
|
|
|
|
# '';
|
2024-11-24 18:50:12 +00:00
|
|
|
|
2024-12-06 03:42:56 +00:00
|
|
|
programs.kitty.settings = {
|
2024-12-06 04:33:20 +00:00
|
|
|
font_family = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light\"";
|
|
|
|
bold_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular\"";
|
|
|
|
italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light Italic\"";
|
|
|
|
bold_italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular Italic\"";
|
2024-12-06 03:42:56 +00:00
|
|
|
background_opacity = lib.mkForce 0.94;
|
|
|
|
background = lib.mkForce "#171717";
|
|
|
|
font_size = lib.mkForce 16.0;
|
|
|
|
hide_window_decorations = lib.mkForce "titlebar-only";
|
|
|
|
macos_option_as_alt = lib.mkForce "both";
|
|
|
|
};
|
|
|
|
|
2024-07-16 16:19:17 +00:00
|
|
|
programs.alacritty.settings = {
|
|
|
|
font.size = lib.mkForce 16.0;
|
|
|
|
window.opacity = lib.mkForce 0.94;
|
|
|
|
colors.primary.background = lib.mkForce "#171717";
|
|
|
|
};
|
2024-07-16 15:50:05 +00:00
|
|
|
|
|
|
|
home.username = "zynh";
|
2024-07-28 14:14:18 +00:00
|
|
|
home.homeDirectory = "/Users/zynh";
|
2024-07-16 15:50:05 +00:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
nix-output-monitor
|
2024-11-08 00:22:14 +00:00
|
|
|
(writeShellScriptBin "rebuild" ''
|
|
|
|
darwin-rebuild switch --flake ~/nixos#little-lightning |& nom
|
|
|
|
'')
|
2024-07-16 15:50:05 +00:00
|
|
|
|
2024-12-06 03:42:56 +00:00
|
|
|
(writeShellScriptBin "restart-skhd" ''
|
|
|
|
launchctl stop org.nixos.skhd
|
|
|
|
launchctl start org.nixos.skhd
|
|
|
|
'')
|
|
|
|
|
2024-07-25 12:33:14 +00:00
|
|
|
wakeonlan
|
|
|
|
|
2024-07-16 15:50:05 +00:00
|
|
|
go
|
|
|
|
rustup
|
|
|
|
fzf
|
|
|
|
];
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
}
|