162 lines
3.4 KiB
Nix
162 lines
3.4 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;
|
|
nixpkgs.overlays = [
|
|
(import "${fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz"}/overlay.nix")
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
kitty
|
|
firefox
|
|
thunderbird
|
|
btop
|
|
|
|
rust-analyzer-nightly
|
|
(fenix.complete.withComponents [
|
|
"cargo"
|
|
"clippy"
|
|
"rust-src"
|
|
"rustc"
|
|
"rustfmt"
|
|
])
|
|
|
|
kdeconnect
|
|
keepassxc
|
|
|
|
syncthing
|
|
|
|
zoxide
|
|
meslo-lgs-nf
|
|
|
|
libsForQt5.bismuth
|
|
|
|
plasma-browser-integration
|
|
|
|
];
|
|
|
|
programs.firefox =
|
|
{
|
|
enable = true;
|
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
vimium
|
|
darkreader
|
|
localcdn
|
|
ublock-origin
|
|
bypass-paywalls-clean
|
|
sidebery
|
|
plasma-integration
|
|
];
|
|
profiles.default = {
|
|
id = 0;
|
|
name = "Default";
|
|
settings = {
|
|
"browser.startup.homepage" = "about:blank";
|
|
};
|
|
};
|
|
};
|
|
|
|
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.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;
|
|
}
|
|
|