136 lines
2 KiB
Nix
136 lines
2 KiB
Nix
{ config, pkgs, inputs, lib, ... }:
|
|
|
|
{
|
|
home.username = "till";
|
|
home.homeDirectory = "/home/till";
|
|
home.stateVersion = "22.11";
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
xdg.userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
download = "${config.home.homeDirectory}/tmp";
|
|
music = "${config.home.homeDirectory}/media/music";
|
|
pictures = "${config.home.homeDirectory}/media/img";
|
|
videos = "${config.home.homeDirectory}/media/vid";
|
|
documents = "${config.home.homeDirectory}/misc";
|
|
};
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# commandline
|
|
exa
|
|
fzf
|
|
nnn
|
|
jq
|
|
silver-searcher
|
|
tmux
|
|
tree
|
|
unzip
|
|
wl-clipboard
|
|
|
|
# messenger
|
|
mattermost-desktop
|
|
signal-desktop
|
|
tdesktop
|
|
element-desktop
|
|
whatsapp-for-linux
|
|
|
|
# email
|
|
msmtp
|
|
notmuch
|
|
# isync
|
|
w3m
|
|
openssl
|
|
gnupg
|
|
urlscan
|
|
|
|
# office
|
|
vdirsyncer
|
|
khal
|
|
khard
|
|
taskwarrior
|
|
taskopen
|
|
gnome.gnome-sound-recorder
|
|
zoom-us
|
|
|
|
# publishing
|
|
pandoc
|
|
libreoffice
|
|
zotero
|
|
zathura
|
|
|
|
# graphics
|
|
inkscape
|
|
gimp
|
|
|
|
# web
|
|
qutebrowser
|
|
nyxt
|
|
chromium
|
|
mullvad-vpn
|
|
|
|
# media
|
|
vlc
|
|
lollypop
|
|
freetube
|
|
yt-dlp
|
|
|
|
# deveolopment
|
|
bundix
|
|
nodejs
|
|
ruby
|
|
android-studio
|
|
|
|
# secrets
|
|
libsecret
|
|
keepassxc
|
|
];
|
|
|
|
imports = [
|
|
./R.nix
|
|
./nvim
|
|
./foot.nix
|
|
./fish.nix
|
|
./mail
|
|
./tex.nix
|
|
./openconnect.nix
|
|
./desktop
|
|
];
|
|
|
|
home.shellAliases = {
|
|
ls = "exa";
|
|
tree = "exa --tree";
|
|
v = "nvim";
|
|
};
|
|
|
|
programs.nix-index = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Till";
|
|
userEmail = "till@ktiu.net";
|
|
lfs = {
|
|
enable = true;
|
|
};
|
|
extraConfig = {
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|