rix101/machines/nix-darwin/x86_64-darwin/apavel-a01/home/apavel.nix
reo101 e3b1539b41
refactor(flake)!: deduplicate code in configurations flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations
Some more refactoring in `configurations`' `mkHost` functions
Also start using `home-manager`'s `useGlobalPkgs` option
Also use `mkShellNoCC` for default `devShell`
Also `nix flake update`
2024-07-20 14:30:25 +03:00

53 lines
1 KiB
Nix

{ inputs, outputs, lib, pkgs, config, ... }:
{
home = {
# username = "apavel";
# homeDirectory = "/Users/apavel";
stateVersion = "22.05";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.packages = with pkgs; [
# Dhall
dhall
# dhall-lsp-server
# Nix
nil
# Zig
zigpkgs.master
inputs.zls-overlay.packages.x86_64-darwin.default
];
programs.git = {
enable = true;
userName = "apavel";
userEmail = "apavel@vmware.com";
signing = {
signByDefault = true;
key = "0x52F3E1D376F692C0";
};
};
# services.gpg-agent = {
# enable = true;
# defaultCacheTtl = 1800;
# enableSshSupport = true;
# };
# home.file.".stack/config.yaml".text = lib.generators.toYAML {} {
# templates = {
# scm-init = "git";
# params = with config.programs.git; {
# author-name = userName;
# author-email = userEmail;
# github-username = userName;
# };
# };
# nix.enable = true;
# };
}