102 lines
2.1 KiB
Nix
102 lines
2.1 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;
|
|
|
|
desktop = "${config.home.homeDirectory}/desktop";
|
|
documents = "${config.home.homeDirectory}/misc";
|
|
download = "${config.home.homeDirectory}/tmp";
|
|
music = "${config.home.homeDirectory}/media/music";
|
|
pictures = "${config.home.homeDirectory}/media/img";
|
|
publicShare = "${config.home.homeDirectory}/box";
|
|
templates = "${config.xdg.dataHome}/templates";
|
|
videos = "${config.home.homeDirectory}/media/vid";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
dust
|
|
fzf
|
|
jq
|
|
progress
|
|
rename
|
|
silver-searcher
|
|
tldr
|
|
tmux
|
|
];
|
|
|
|
imports = [
|
|
./fish.nix
|
|
./tmux
|
|
./password-store.nix
|
|
./vifm
|
|
./nvim
|
|
];
|
|
|
|
programs.nix-index = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
settings = {
|
|
user.name = "Till";
|
|
user.email = "till@ktiu.net";
|
|
pull.rebase = true;
|
|
extraConfig = {
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
};
|
|
};
|
|
lfs = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
programs.bottom = {
|
|
enable = true;
|
|
settings.styles.theme = "default-light";
|
|
};
|
|
|
|
programs.ssh.matchBlocks = {
|
|
geocom = {
|
|
hostname = "geocom.uni-frankfurt.de";
|
|
user = "till";
|
|
identityFile = "${config.home.homeDirectory}/.ssh/tstraube";
|
|
};
|
|
};
|
|
|
|
programs.gpg.settings = {
|
|
|
|
no-emit-version = true;
|
|
no-comments = true;
|
|
|
|
keyserver = "hkps://keys.openpgp.org/";
|
|
keyserver-options = [
|
|
"no-honor-keyserver-url"
|
|
"include-revoked"
|
|
];
|
|
|
|
personal-cipher-preferences = "AES256 AES192 AES CAST5";
|
|
personal-digest-preferences = "SHA512 SHA384 SHA256 SHA224";
|
|
cert-digest-algo = "SHA512";
|
|
default-preference-list = "SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
|
|
|
|
};
|
|
|
|
}
|