2024-07-27 20:15:19 +02:00
|
|
|
{ pkgs, inputs, ... }: let
|
2024-07-14 19:47:23 +02:00
|
|
|
username = "khais";
|
|
|
|
|
in {
|
2024-07-14 16:41:22 +02:00
|
|
|
home = {
|
|
|
|
|
packages = with pkgs; [
|
2024-07-15 20:15:22 +02:00
|
|
|
# system tools & bragging
|
2024-07-28 14:09:38 +02:00
|
|
|
htop neofetch ripgrep usbutils wget curl ncdu
|
2024-07-15 20:18:00 +02:00
|
|
|
# remote working
|
|
|
|
|
remmina
|
2024-07-16 20:57:10 +02:00
|
|
|
# audio
|
|
|
|
|
audacity
|
2024-07-17 19:39:55 +02:00
|
|
|
# communication
|
|
|
|
|
discord
|
2024-07-17 19:43:09 +02:00
|
|
|
# passwords
|
|
|
|
|
bitwarden-desktop
|
2024-07-21 11:45:50 +02:00
|
|
|
# editors
|
|
|
|
|
zed-editor
|
2024-07-27 11:08:16 +02:00
|
|
|
# nixvim
|
2024-07-27 20:15:19 +02:00
|
|
|
inputs.nixvim-flake.packages.${system}.default
|
2024-08-05 19:09:49 +02:00
|
|
|
# make clipboard yanking work in neovim
|
|
|
|
|
# https://superuser.com/a/1803183
|
|
|
|
|
wl-clipboard
|
2024-07-28 23:30:50 +02:00
|
|
|
# wm river utils
|
2024-07-30 15:23:21 +02:00
|
|
|
kitty swaylock fuzzel playerctl brightnessctl
|
2024-07-29 10:07:55 +02:00
|
|
|
# dev tools
|
|
|
|
|
gitu
|
2024-07-29 10:09:25 +02:00
|
|
|
# music
|
|
|
|
|
cmus
|
2024-07-14 16:41:22 +02:00
|
|
|
];
|
|
|
|
|
|
2024-07-14 19:39:11 +02:00
|
|
|
file = {
|
2024-07-27 15:04:56 +02:00
|
|
|
# konsole configuration
|
|
|
|
|
".local/share/konsole/Nixos.profile".source = ./konsole/Nixos.profile;
|
2024-07-14 19:39:11 +02:00
|
|
|
};
|
|
|
|
|
|
2024-07-14 19:47:23 +02:00
|
|
|
inherit username;
|
|
|
|
|
homeDirectory = "/home/${username}";
|
2024-07-14 16:41:22 +02:00
|
|
|
|
2024-07-14 16:42:45 +02:00
|
|
|
stateVersion = "23.11";
|
2024-07-14 16:41:22 +02:00
|
|
|
};
|
2024-07-14 19:52:35 +02:00
|
|
|
|
2024-07-17 19:39:55 +02:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
2024-07-14 20:01:01 +02:00
|
|
|
programs.git = {
|
|
|
|
|
enable = true;
|
|
|
|
|
userEmail = "khais.colin@gmail.com";
|
|
|
|
|
userName = "Khaïs COLIN";
|
|
|
|
|
# better diffs
|
2024-07-15 20:06:59 +02:00
|
|
|
diff-so-fancy.enable = true;
|
|
|
|
|
# set editor
|
|
|
|
|
extraConfig.core.editor = "nvim";
|
2024-07-29 11:07:37 +02:00
|
|
|
# always show diff in commits
|
|
|
|
|
extraConfig.commit.verbose = true;
|
2024-07-14 20:01:01 +02:00
|
|
|
};
|
2024-07-14 20:06:22 +02:00
|
|
|
|
|
|
|
|
programs.zsh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enableVteIntegration = true;
|
2024-07-15 20:07:44 +02:00
|
|
|
prezto = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2024-07-14 20:06:22 +02:00
|
|
|
shellAliases = {
|
|
|
|
|
gc = "git commit -v";
|
|
|
|
|
ga = "git add";
|
|
|
|
|
gst = "git status";
|
|
|
|
|
gp = "git push";
|
|
|
|
|
gd = "git diff";
|
2024-07-15 20:08:07 +02:00
|
|
|
gds = "git diff --staged";
|
2024-07-27 13:29:25 +02:00
|
|
|
|
|
|
|
|
vim = "nvim";
|
|
|
|
|
vi = "nvim";
|
2024-07-14 20:06:22 +02:00
|
|
|
};
|
|
|
|
|
};
|
2024-07-14 16:41:22 +02:00
|
|
|
}
|