84 lines
2.1 KiB
Nix
84 lines
2.1 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../home/modules
|
|
];
|
|
|
|
snowhawk = {
|
|
alacritty.enable = true;
|
|
kitty.enable = true;
|
|
macos.enable = true;
|
|
sources.enable = true;
|
|
projects.enable = true;
|
|
ssh = {
|
|
enable = true;
|
|
homeNetwork = true;
|
|
};
|
|
neovim.enable = true;
|
|
sops.enable = true;
|
|
direnv.enable = true;
|
|
};
|
|
|
|
# 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"
|
|
# '';
|
|
|
|
programs.kitty.settings = {
|
|
font_family = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"ExtraLight\"";
|
|
bold_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light\"";
|
|
italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"ExtraLight Italic\"";
|
|
bold_italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light Italic\"";
|
|
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";
|
|
};
|
|
|
|
programs.alacritty.settings = {
|
|
font.size = lib.mkForce 16.0;
|
|
window.opacity = lib.mkForce 0.94;
|
|
colors.primary.background = lib.mkForce "#171717";
|
|
};
|
|
|
|
home.username = "zynh";
|
|
home.homeDirectory = "/Users/zynh";
|
|
|
|
home.packages = with pkgs; [
|
|
nix-output-monitor
|
|
(writeShellScriptBin "rebuild" ''
|
|
darwin-rebuild switch --flake ~/nixos#little-lightning |& nom
|
|
'')
|
|
|
|
(writeShellScriptBin "restart-skhd" ''
|
|
launchctl stop org.nixos.skhd
|
|
launchctl start org.nixos.skhd
|
|
'')
|
|
|
|
wakeonlan
|
|
|
|
go
|
|
rustup
|
|
fzf
|
|
];
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "23.11";
|
|
}
|