nix/home/home.nix

186 lines
3.6 KiB
Nix

{ config, pkgs, ... }:
{
imports = [
# who are you?
# ./fossil.nix
# ./plank.nix
];
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
kitty
thunderbird
clementine
btop
bat
broot
fd
lazygit
latte-dock
kdeconnect
keepassxc
syncthing
zoxide
meslo-lgs-nf
libsForQt5.bismuth
libsForQt5.ark
libsForQt5.qtstyleplugin-kvantum
gtk-engine-murrine
plasma-browser-integration
];
gtk = {
enable = true;
theme = {
package = pkgs.arc-theme;
name = "Arc-Dark";
};
};
programs.firefox =
{
package = pkgs.firefox.override {
cfg = {
enablePlasmaBrowserIntegration = true;
};
};
enable = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
vimium
darkreader
localcdn
ublock-origin
bypass-paywalls-clean
sidebery
plasma-integration
keepassxc-browser
];
profiles.default = {
id = 0;
name = "Default";
settings = {
"browser.startup.homepage" = "about:blank";
};
};
};
programs.broot = {
enable = true;
modal = true;
};
services.syncthing = {
enable = true;
};
services.kdeconnect = {
enable = true;
indicator = true;
};
programs.kitty = {
enable = true;
font = {
name = "MesloLGS NF Regular";
size = 10;
};
};
programs.git = {
enable = true;
userName = "atagen";
userEmail = "atagen@boss.co";
};
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
enableSyntaxHighlighting = true;
enableVteIntegration = true;
autocd = true;
defaultKeymap = "viins";
initExtra = "\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n";
plugins = [
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
{
name = "zsh-vi-mode";
src = pkgs.zsh-vi-mode;
file = "share/zsh-vi-mode/zsh-vi-mode.zsh";
}
{
name = "zsh-completions";
src = pkgs.zsh-completions;
file = "share/zsh-completions/zsh-completions.zsh";
}
{
name = "zsh-autopair";
src = pkgs.zsh-autopair;
file = "share/zsh-autopair/zsh-autopair.zsh";
}
{
name = "zsh-autocomplete";
src = pkgs.zsh-autocomplete;
file = "share/zsh-autocomplete/zsh-autocomplete.zsh";
}
{
name = "zsh-fast-syntax-highlighting";
src = pkgs.zsh-fast-syntax-highlighting;
file = "share/zsh-fast-syntax-highlighting/zsh-fast-syntax-highlighting.zsh";
}
{
name = "zsh-history-search-multi-word";
src = pkgs.zsh-history-search-multi-word;
file = "share/zsh-history-search-multi-word/zsh-history-search-multi-word.zsh";
}
{
name = "zsh-nix-shell";
src = pkgs.zsh-nix-shell;
file = "share/zsh-nix-shell/zsh-nix-shell.zsh";
}
{
name = "nix-zsh-completions";
src = pkgs.nix-zsh-completions;
file = "share/nix-zsh-completions/nix-zsh-completions.zsh";
}
];
};
programs.helix.enable = true;
programs.helix.settings = {
theme = "bogster";
};
home.stateVersion = "22.05";
programs.home-manager.enable = true;
}