mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Miscellanious stuff
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.obsidian = {
|
||||
enable = true;
|
||||
vaults.miscellanious = {
|
||||
enable = true;
|
||||
target = "/Documents/Notes/miscellanious"; # target is relative to ~ #not directly to kdrive. It causes problems
|
||||
};
|
||||
vaults.work = {
|
||||
enable = true;
|
||||
target = "/Documents/Notes/work";
|
||||
|
||||
vaults = {
|
||||
miscellanious = { enable = true; target = "/Documents/Notes/miscellanious"; };
|
||||
work = { enable = true; target = "/Documents/Notes/work"; };
|
||||
};
|
||||
|
||||
defaultSettings = {
|
||||
|
||||
appearance.theme = "gruvbox";
|
||||
|
||||
extraFiles = {
|
||||
".obsidian/themes/gruvbox/manifest.json" = ../../other/obsidian-theme/manifest.json;
|
||||
".obsidian/themes/gruvbox/obsidian.css" = ../../other/obsidian-theme/obsidian.css;
|
||||
".obsidian/themes/gruvbox/theme.css" = ../../other/obsidian-theme/theme.css;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
command cat "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
eval "$(direnv hook zsh)"
|
||||
fastfetch''\n'';
|
||||
shellAliases = {
|
||||
".." = "z ..";
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
|
||||
{
|
||||
writeShellApplication,
|
||||
zsh,
|
||||
...
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "custom-launch";
|
||||
runtimeInputs = [
|
||||
zsh
|
||||
];
|
||||
text = ''
|
||||
sleep 2
|
||||
clear
|
||||
zsh
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user