2024-09-12 16:09:49 -04:00

72 lines
1.3 KiB
Nix

{ config, pkgs, inputs, ... }:
{
nixpkgs.config.allowUnfree = true;
home = {
username = "k";
homeDirectory = "/home/k";
stateVersion = "23.11";
enableNixpkgsReleaseCheck = false;
packages = with pkgs;[
nerdfonts
firefox
keepassxc
thunderbird
blender
vesktop
btop
zip
spotify
distrobox
modrinth-app
direnv
emacs
syncthing
];
};
programs = {
git = {
enable = true;
userName = "k";
userEmail = "markers711@gmail.com";
};
direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
starship.enable = true;
zsh = {
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}];
};
};
services = {
syncthing.enable = true;
activitywatch.enable = true;
emacs = {
enable = true;
defaultEditor = true;
};
};
}