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 "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" "$@"
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
||||||
|
|
|
@ -38,38 +38,68 @@ 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;
|
||||||
source = "git@github.com:mrVanDalo/home-manager-utils.git";
|
enableAliases = true;
|
||||||
target = "~/dev/home-manager-utils";
|
};
|
||||||
}
|
|
||||||
{
|
# use z instead of cd
|
||||||
source = "git@github.com:terranix/terranix.git";
|
# use zi to fuzzy search through all registered directories
|
||||||
target = "~/dev/terranix/terranix";
|
programs.zoxide.enable = true;
|
||||||
}
|
|
||||||
{
|
# provide better `Ctrl+r` command in terminal
|
||||||
source = "git@github.com:terranix/terranix-website.git";
|
programs.mcfly = {
|
||||||
target = "~/dev/terranix/website";
|
enable = true;
|
||||||
}
|
keyScheme = "vim";
|
||||||
{
|
enableLightTheme = true;
|
||||||
source = "git@github.com:terranix/terranix-module-github.git";
|
enableFuzzySearch = true;
|
||||||
target = "~/dev/terranix/module-github";
|
};
|
||||||
}
|
|
||||||
{
|
home.git-pull = {
|
||||||
source = "git@github.com:terranix/terranix-github-configuration.git";
|
enable = true;
|
||||||
target = "~/dev/terranix/configuration-github";
|
repositories = [
|
||||||
}
|
{
|
||||||
{
|
source = "git@github.com:mrVanDalo/home-manager-utils.git";
|
||||||
source = "git@github.com:terranix/terranix-examples.git";
|
target = "~/dev/home-manager-utils";
|
||||||
target = "~/dev/terranix/examples";
|
}
|
||||||
}
|
{
|
||||||
];
|
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 = ''
|
home.file.".config/bugwarrior/bugwarriorrc".text = ''
|
||||||
[general]
|
[general]
|
||||||
|
@ -93,8 +123,8 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
xdg.configFile."ncmpcpp/config".text = ''
|
xdg.configFile."ncmpcpp/config".text = ''
|
||||||
mpd_host = "pepe.private"
|
mpd_host = "pepe.private"
|
||||||
mpd_port = 6600
|
mpd_port = 6600
|
||||||
'';
|
'';
|
||||||
|
|
||||||
home.file.".zshrc".text = ''
|
home.file.".zshrc".text = ''
|
||||||
|
|
Loading…
Reference in a new issue