66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../home/modules
|
|
];
|
|
|
|
snowhawk = {
|
|
alacritty.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.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
|
|
'')
|
|
|
|
wakeonlan
|
|
|
|
go
|
|
rustup
|
|
fzf
|
|
];
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "23.11";
|
|
}
|