nixos/home/common.nix

64 lines
1.0 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
{
imports = [
./modules/nethack
./modules/firefox
./modules/neovim
./modules/emacs
];
programs = {
home-manager.enable = true;
fastfetch.enable = true;
htop.enable = true;
bash = {
enable = true;
historyControl = [ "ignoreboth" ];
};
git = {
enable = true;
userName = "xezo360hye";
userEmail = "xezo360hye@gmail.com";
extraConfig = {
init.defaultBranch = "master";
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
};
};
mpv = {
enable = true;
};
};
nixpkgs.config.allowUnfree = true;
home = {
packages = with pkgs; [
texlive.combined.scheme-full
telegram-desktop
libqalculate
arduino-cli
ani-cli
ytfzf
cpufrequtils
steam-run
];
sessionVariables = {
ANI_CLI_PLAYER = "mpv";
};
2024-08-13 00:54:07 +05:30
file = {
".config/nixpkgs/config.nix".text = "{ allowUnfree = true; }";
};
};
}