chore: init repo
This commit is contained in:
commit
d4ca1cffd2
6 changed files with 333 additions and 0 deletions
89
home-manager/home.nix
Normal file
89
home-manager/home.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home = {
|
||||
username = "hms";
|
||||
homeDirectory = "/home/hms";
|
||||
packages = with pkgs; [
|
||||
# Utilities
|
||||
neofetch
|
||||
zip
|
||||
xz
|
||||
unzip
|
||||
ripgrep
|
||||
just
|
||||
tealdeer
|
||||
|
||||
# Applications
|
||||
zotero
|
||||
zulip
|
||||
discord
|
||||
signal-desktop
|
||||
sgt-puzzles
|
||||
gapless
|
||||
|
||||
# Development
|
||||
opam
|
||||
tinymist
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
|
||||
shell.enableBashIntegration = true;
|
||||
shellAliases = {
|
||||
":q" = "exit";
|
||||
"h" = "hx";
|
||||
"o" = "xdg-open";
|
||||
};
|
||||
|
||||
stateVersion = "25.11";
|
||||
};
|
||||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
settings = {
|
||||
theme = "adwaita-dark";
|
||||
editor = {
|
||||
lsp.display-messages = true;
|
||||
inline-diagnostics.cursor-line = "info";
|
||||
rulers = [81];
|
||||
};
|
||||
};
|
||||
};
|
||||
bat.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user = {
|
||||
email = "henri.saudubray@proton.me";
|
||||
name = "Henri Saudubray";
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
signing.format = "openpgp";
|
||||
};
|
||||
bash = {
|
||||
enable = true;
|
||||
bashrcExtra = ''
|
||||
export PS1=" \W \[\e[33m\]λ\[\e[0m\] "
|
||||
test -r '/home/hms/.opam/opam-init/init.sh' && . '/home/hms/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true
|
||||
'';
|
||||
};
|
||||
gpg.enable = true;
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/dsk";
|
||||
documents = "${config.home.homeDirectory}/doc";
|
||||
download = "${config.home.homeDirectory}/dwn";
|
||||
music = "${config.home.homeDirectory}/aud";
|
||||
pictures = "${config.home.homeDirectory}/img";
|
||||
publicShare = "${config.home.homeDirectory}/pub";
|
||||
templates = "${config.home.homeDirectory}/tpl";
|
||||
videos = "${config.home.homeDirectory}/vid";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue