os/home.nix
2024-12-14 01:15:19 +01:00

79 lines
1.4 KiB
Nix

{config, lib, pkgs, inputs, os, ...}: {
imports = [
./programs/tmux.nix
./programs/bash.nix
./programs/kakoune.nix
./programs/pastebin.nix
./programs/helix.nix
./programs/firefox.nix
];
options = {};
config = {
home.stateVersion = "22.05";
programs.home-manager.enable = true;
programs.direnv = {
enable = true;
enableBashIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
nixpkgs = {
config.allowUnfree = true;
overlays = [ inputs.nur.overlays.default ];
};
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
bat
bottom
btop
entr
eza
fd
file
fortune
git
htop
neovim
nodejs-18_x
pandoc
ripgrep
sqlite
sqlite.dev
texliveFull
unzip
vim
vscodium
wget
zip
zotero
ollama
# fonts
nerd-fonts.fira-code
nerd-fonts.fira-mono
nerd-fonts.droid-sans-mono
borg-sans-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
inter
google-fonts
vistafonts
];
home.file.".local/bin/git-identity" = {
executable = true;
source = "${./git-identity.sh}";
};
home.file.".background-image".source = "${./background-image.jpg}";
home.sessionPath = [
"$HOME/.local/bin"
];
};
}