90 lines
1.8 KiB
Nix
90 lines
1.8 KiB
Nix
{ pkgs, inputs, river-shifttags, ... }: let
|
|
username = "khais";
|
|
in {
|
|
home = {
|
|
packages = with pkgs; [
|
|
# system tools & bragging
|
|
htop neofetch ripgrep usbutils wget curl ncdu
|
|
# remote working
|
|
remmina
|
|
# audio
|
|
audacity
|
|
# communication
|
|
discord
|
|
# passwords
|
|
bitwarden-desktop
|
|
# editors
|
|
zed-editor
|
|
# nixvim
|
|
inputs.nixvim-flake.packages.${system}.default
|
|
# make clipboard yanking work in neovim
|
|
# https://superuser.com/a/1803183
|
|
wl-clipboard
|
|
# wm river utils
|
|
playerctl brightnessctl
|
|
river-shifttags.packages.${system}.default
|
|
# dev tools
|
|
gitu
|
|
# music
|
|
cmus
|
|
];
|
|
|
|
file = {
|
|
# konsole configuration
|
|
".local/share/konsole/Nixos.profile".source = ./konsole/Nixos.profile;
|
|
};
|
|
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
};
|
|
|
|
inherit username;
|
|
homeDirectory = "/home/${username}";
|
|
|
|
stateVersion = "23.11";
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userEmail = "khais.colin@gmail.com";
|
|
userName = "Khaïs COLIN";
|
|
# better diffs
|
|
diff-so-fancy.enable = true;
|
|
# set editor
|
|
extraConfig.core.editor = "nvim";
|
|
# always show diff in commits
|
|
extraConfig.commit.verbose = true;
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableVteIntegration = true;
|
|
prezto = {
|
|
enable = true;
|
|
};
|
|
shellAliases = {
|
|
gc = "git commit -v";
|
|
ga = "git add";
|
|
gst = "git status";
|
|
gp = "git push";
|
|
gd = "git diff";
|
|
gds = "git diff --staged";
|
|
|
|
vim = "nvim";
|
|
vi = "nvim";
|
|
};
|
|
};
|
|
|
|
programs.kitty = {
|
|
enable = true;
|
|
keybindings = {
|
|
"super+shift+enter" = "new_os_window_with_cwd";
|
|
};
|
|
settings = {
|
|
text_fg_override_threshold = 10;
|
|
};
|
|
};
|
|
programs.fuzzel.enable = true;
|
|
}
|