minor improvements

This commit is contained in:
Ingolf Wagner 2021-10-20 08:47:59 +02:00
parent 7297403acd
commit e3ab934cb8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 67 additions and 32 deletions

View file

@ -17,6 +17,7 @@ in {
(nextcloudSync "Pictures") (nextcloudSync "Pictures")
(nextcloudSync "Unterlagen") (nextcloudSync "Unterlagen")
(nextcloudSync "Video") (nextcloudSync "Video")
(nextcloudSync "Kunstbuch")
(pkgs.writeShellScriptBin "nixFlakes" '' (pkgs.writeShellScriptBin "nixFlakes" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@" exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"

View file

@ -29,8 +29,12 @@
system.custom.suspend.enable = lib.mkDefault true; system.custom.suspend.enable = lib.mkDefault true;
backup.dirs = backup.dirs = [
[ "/home/palo/.password-store" "/home/palo/.task" "/home/palo/.vit" ]; "${config.users.users.mainUser.home}/.config/noti"
"${config.users.users.mainUser.home}/.password-store"
"${config.users.users.mainUser.home}/.task"
"${config.users.users.mainUser.home}/.vit"
];
programs.custom = { programs.custom = {

View file

@ -38,13 +38,38 @@ in {
# don't run autoload -U compinit && compinit before ~/.zshrc # don't run autoload -U compinit && compinit before ~/.zshrc
programs.zsh.enableGlobalCompInit = lib.mkForce false; programs.zsh.enableGlobalCompInit = lib.mkForce false;
home-manager.users.mainUser = { home-manager.users.mainUser = {
# a better cat
programs.bat = {
enable = true;
config.theme = "Solarized (light)";
};
# notify me when a command is finished
programs.noti.enable = true; programs.noti.enable = true;
home.git-pull.enable = true; # a better ls
home.git-pull.repositories = [ programs.exa = {
enable = true;
enableAliases = true;
};
# use z instead of cd
# use zi to fuzzy search through all registered directories
programs.zoxide.enable = true;
# provide better `Ctrl+r` command in terminal
programs.mcfly = {
enable = true;
keyScheme = "vim";
enableLightTheme = true;
enableFuzzySearch = true;
};
home.git-pull = {
enable = true;
repositories = [
{ {
source = "git@github.com:mrVanDalo/home-manager-utils.git"; source = "git@github.com:mrVanDalo/home-manager-utils.git";
target = "~/dev/home-manager-utils"; target = "~/dev/home-manager-utils";
@ -69,7 +94,12 @@ in {
source = "git@github.com:terranix/terranix-examples.git"; source = "git@github.com:terranix/terranix-examples.git";
target = "~/dev/terranix/examples"; target = "~/dev/terranix/examples";
} }
{
source = "git@github.com:terranix/terranix-artwork.git";
target = "~/dev/terranix/artwork";
}
]; ];
};
home.file.".config/bugwarrior/bugwarriorrc".text = '' home.file.".config/bugwarrior/bugwarriorrc".text = ''
[general] [general]