minor improvements
This commit is contained in:
parent
7297403acd
commit
e3ab934cb8
3 changed files with 67 additions and 32 deletions
|
@ -17,6 +17,7 @@ in {
|
|||
(nextcloudSync "Pictures")
|
||||
(nextcloudSync "Unterlagen")
|
||||
(nextcloudSync "Video")
|
||||
(nextcloudSync "Kunstbuch")
|
||||
|
||||
(pkgs.writeShellScriptBin "nixFlakes" ''
|
||||
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
||||
|
|
|
@ -29,8 +29,12 @@
|
|||
|
||||
system.custom.suspend.enable = lib.mkDefault true;
|
||||
|
||||
backup.dirs =
|
||||
[ "/home/palo/.password-store" "/home/palo/.task" "/home/palo/.vit" ];
|
||||
backup.dirs = [
|
||||
"${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 = {
|
||||
|
||||
|
|
|
@ -38,38 +38,68 @@ in {
|
|||
# don't run autoload -U compinit && compinit before ~/.zshrc
|
||||
programs.zsh.enableGlobalCompInit = lib.mkForce false;
|
||||
|
||||
|
||||
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;
|
||||
|
||||
home.git-pull.enable = true;
|
||||
home.git-pull.repositories = [
|
||||
{
|
||||
source = "git@github.com:mrVanDalo/home-manager-utils.git";
|
||||
target = "~/dev/home-manager-utils";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix.git";
|
||||
target = "~/dev/terranix/terranix";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-website.git";
|
||||
target = "~/dev/terranix/website";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-module-github.git";
|
||||
target = "~/dev/terranix/module-github";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-github-configuration.git";
|
||||
target = "~/dev/terranix/configuration-github";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-examples.git";
|
||||
target = "~/dev/terranix/examples";
|
||||
}
|
||||
];
|
||||
# a better ls
|
||||
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";
|
||||
target = "~/dev/home-manager-utils";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix.git";
|
||||
target = "~/dev/terranix/terranix";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-website.git";
|
||||
target = "~/dev/terranix/website";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-module-github.git";
|
||||
target = "~/dev/terranix/module-github";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-github-configuration.git";
|
||||
target = "~/dev/terranix/configuration-github";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-examples.git";
|
||||
target = "~/dev/terranix/examples";
|
||||
}
|
||||
{
|
||||
source = "git@github.com:terranix/terranix-artwork.git";
|
||||
target = "~/dev/terranix/artwork";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
home.file.".config/bugwarrior/bugwarriorrc".text = ''
|
||||
[general]
|
||||
|
@ -93,8 +123,8 @@ in {
|
|||
'';
|
||||
|
||||
xdg.configFile."ncmpcpp/config".text = ''
|
||||
mpd_host = "pepe.private"
|
||||
mpd_port = 6600
|
||||
mpd_host = "pepe.private"
|
||||
mpd_port = 6600
|
||||
'';
|
||||
|
||||
home.file.".zshrc".text = ''
|
||||
|
|
Loading…
Reference in a new issue