Add tldr persistence and much more
This commit is contained in:
parent
36d1a39511
commit
f17e32e30d
|
@ -13,7 +13,7 @@ let
|
|||
|
||||
catppuccin-latte = {
|
||||
stylix = {
|
||||
image = ./wallpapers/watercag.png;
|
||||
image = ./wallpapers/needygirloverdose.jpg;
|
||||
base16Scheme = "${inputs.catppuccin-base16}/base16/latte.yaml";
|
||||
polarity = "light";
|
||||
};
|
||||
|
|
|
@ -6,6 +6,7 @@ pkgs.mkShell {
|
|||
hpack
|
||||
stack
|
||||
cabal-install
|
||||
haskell-language-server
|
||||
haskellPackages.implicit-hie # Automatically generate hie.yaml!
|
||||
];
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@ require("my.helpers.wrapMovement").setup()
|
|||
vim.opt.conceallevel = 0
|
||||
|
||||
-- vim.opt.foldcolumn = "1"
|
||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
vim.opt.foldmethod = "expr"
|
||||
-- vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
-- vim.opt.foldmethod = "expr"
|
||||
|
||||
-- {{{ Older functions for calculating things inside vim
|
||||
-- vim.keymap.set("n", "<leader>lg", function()
|
||||
|
@ -75,6 +75,9 @@ local abbreviations = {
|
|||
{ "div", "\\|" },
|
||||
{ "ndiv", "\\not\\|\\:" },
|
||||
{ "perp", "\\perp" },
|
||||
{ "cdots", "\\cdots" }, -- center dots
|
||||
{ "ldots", "\\ldots" }, -- low dots
|
||||
{ "cldots", ",\\ldots," }, -- comma, low dots
|
||||
|
||||
-- Decorations
|
||||
{ "hat", "\\hat" },
|
||||
|
@ -131,7 +134,7 @@ local abolishAbbreviations = {
|
|||
-- to `\\foo` directly (so I saved some keystrokes by letting scrap.nvim
|
||||
-- repeat everything for me).
|
||||
{
|
||||
"{,e,s}{{eps,lam},{star,delta,Delta,pi,psi,sigma,alpha,beta,theta,gamma,omega,Omega}}",
|
||||
"{,e,s}{{eps,lam},{star,delta,Delta,pi,tau,psi,phi,rho,sigma,alpha,beta,theta,gamma,omega,Omega}}",
|
||||
"{,^,_}\\\\{{epsilon,lambda},{}}",
|
||||
options = A.no_capitalization,
|
||||
},
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"Self inner product": {
|
||||
"prefix": "diprod",
|
||||
"description": "Inner product of a vector with itself",
|
||||
"body": "\\dprod{$1}{$1}$0"
|
||||
"body": "\\dprod{$1}$0"
|
||||
},
|
||||
"Lemma": {
|
||||
"prefix": "lemma",
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
/* add '[pdf]' next to links to PDF files */
|
||||
a[href$=".pdf"]:after {
|
||||
font-size: smaller;
|
||||
content: " [pdf]";
|
||||
}
|
|
@ -96,4 +96,9 @@
|
|||
# "${config.xdg.configHome}/syncthing" # Syncthing config data
|
||||
# ];
|
||||
# # }}}
|
||||
# {{{ Tldr
|
||||
satellite.persistence.at.cache.apps.tldr.directories = [
|
||||
"${config.home.homeDirectory}/.tldrc" # tldr cache
|
||||
];
|
||||
# }}}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ let
|
|||
(chord [ "j" "k" "l" ] [ "rightctrl" "rightshift" ])
|
||||
(chord [ "s" "d" "f" ] [ "leftctrl" "leftshift" ])
|
||||
(unmap [ "leftalt" ])
|
||||
(unmap [ "leftshift" ])
|
||||
# (unmap [ "leftshift" ]) # Useful for touhou
|
||||
(unmap [ "leftctrl" ])
|
||||
(unmap [ "rightshift" ])
|
||||
(unmap [ "rightctrl" ])
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
../common/optional/xdg-portal.nix
|
||||
../common/optional/hyprland.nix
|
||||
../common/optional/quietboot.nix
|
||||
../common/optional/gitea.nix
|
||||
|
||||
./hardware
|
||||
./services/syncthing.nix
|
||||
|
@ -36,7 +37,9 @@
|
|||
# }}}
|
||||
# {{{ A few ad-hoc programs
|
||||
programs.kdeconnect.enable = true;
|
||||
programs.firejail.enable = true;
|
||||
programs.extra-container.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
# }}}
|
||||
# {{{ Ad-hoc stylix targets
|
||||
# TODO: include this on all gui hosts
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
let
|
||||
# TODO: remove this once I switch to zfs
|
||||
commonVersioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600"; # 1 hour in seconds
|
||||
maxAge = "604800"; # 14 days in seconds.
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ ../../common/optional/syncthing.nix ];
|
||||
|
||||
|
@ -5,19 +15,12 @@
|
|||
"mythical-vault" = {
|
||||
path = "/home/adrielus/.password-store";
|
||||
devices = [ "enceladus" "lapetus" ];
|
||||
versioning = commonVersioning;
|
||||
};
|
||||
"stellar-sanctum" = {
|
||||
path = "/home/adrielus/Projects/stellar-sanctum/";
|
||||
devices = [ "enceladus" "lapetus" ];
|
||||
|
||||
# TODO: remove this once I switch to zfs
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600"; # 1 hour in seconds
|
||||
maxAge = "604800"; # 14 days in seconds.
|
||||
};
|
||||
};
|
||||
versioning = commonVersioning;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue