This commit is contained in:
Till 2024-12-26 16:07:44 +01:00
parent 5fabec3fa3
commit 4fb0d3aa6c
17 changed files with 75 additions and 34 deletions

View file

@ -121,5 +121,15 @@ in
url = "https://crowd.server.uni-frankfurt.de/rest/calendar-services/1.0/calendar/export/subcalendar/private/f3087e14d058267065ebbdf43b096cb31517e9ea.ics";
};
};
"grid" = calDefaults // {
khal.enable = true;
khal.color = "light green";
remote = {
type = "caldav";
url = "https://cloud.gridisnotajournal.de/remote.php/dav/calendars/till/grid/";
passwordCommand = [ "secret-tool" "lookup" "server" "cloud.gridisnotajournal.de" "account" "till" ];
userName = "till";
};
};
};
}

View file

@ -10,9 +10,7 @@
tdesktop
# office
okular
xournalpp
zoom-us
pdfpc
# text publishing
@ -22,7 +20,6 @@
# graphics
gimp
godot_4
inkscape
# web

View file

@ -39,12 +39,11 @@
name = config.home.username;
isDefault = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
linkhints
auto-tab-discard
keepassxc-browser
libredirect
vimium
tampermonkey
ublock-origin
vimium
zotero-connector
];
search = {
@ -75,7 +74,7 @@
definedAliases = [ "@no" ];
};
"Home manager options" = {
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }];
urls = [{ template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=release-24.11"; }];
iconUpdateURL = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@hm" ];

View file

@ -3,7 +3,7 @@
{
home.pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
package = pkgs.adwaita-icon-theme;
size = 32;
};

View file

@ -22,6 +22,8 @@
videos = "${config.home.homeDirectory}/media/vid";
documents = "${config.home.homeDirectory}/misc";
templates = "${config.xdg.dataHome}/templates";
publicShare = "${config.home.homeDirectory}/box";
desktop = null;
};
home.packages = with pkgs; [
@ -37,6 +39,7 @@
imports = [
./fish.nix
./tmux
./vifm
./nvim
];

View file

@ -97,6 +97,7 @@
nnoremap <leader>se :UltiSnipsEdit!<return>
'';
}
vifm-vim
{
plugin = vim-astro;
config = ''

View file

@ -69,7 +69,7 @@ lua <<EOF
local nvim_lsp = require('lspconfig')
local capabilities = require('cmp_nvim_lsp').default_capabilities()
local servers = { "r_language_server", "tsserver", "astro", "texlab" }
local servers = { "r_language_server", "ts_ls", "astro", "texlab" }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,

View file

@ -29,6 +29,7 @@
zathura
pdftk
imagemagick
feh
ghostscript
drawing
castget
@ -52,14 +53,13 @@
bundix
nodejs
yarn
android-studio
netlify-cli
appimage-run
# secrets
libsecret
keepassxc
yubikey-manager-qt
];
imports = [
@ -72,6 +72,7 @@
];
programs.taskwarrior = {
package = pkgs.taskwarrior3;
enable = true;
dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks";
colorTheme = "light-256";

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [ nnn ];
programs.tmux = {
enable = true;
escapeTime = 0;
@ -27,7 +26,7 @@
bind C-c command-prompt -I "#{b:pane_current_path}" "rename-window '%%'"
# Layouts
bind f source-file ~/.config/tmux/nnn.conf
bind f source-file ~/.config/tmux/vifm.conf
bind R source-file ~/.config/tmux/rloft.conf
bind J source-file ~/.config/tmux/jekyll.conf
@ -50,7 +49,7 @@
set-option -g focus-events on
'';
};
xdg.configFile."tmux/nnn.conf".source = ./nnn.conf;
xdg.configFile."tmux/vifm.conf".source = ./vifm.conf;
xdg.configFile."tmux/rloft.conf".source = ./rloft.conf;
xdg.configFile."tmux/jekyll.conf".source = ./jekyll.conf;
}

View file

@ -1,2 +0,0 @@
new-window -c '#{pane_current_path}' nnn
rename-window 'nnn'

1
home/tmux/vifm.conf Normal file
View file

@ -0,0 +1 @@
new-window -c '#{pane_current_path}' vifm

13
home/vifm/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
programs.vifm = {
enable = true;
extraConfig = "
colorscheme light
set vicmd=nvim
filetype * xdg-open
";
};
xdg.configFile."vifm/colors/light.vifm".source = ./light.vifm;
}

20
home/vifm/light.vifm Normal file
View file

@ -0,0 +1,20 @@
highlight clear
highlight Win cterm=none ctermfg=black ctermbg=default
highlight Directory cterm=none ctermfg=cyan ctermbg=default
highlight Link cterm=none ctermfg=yellow ctermbg=default
highlight BrokenLink cterm=none ctermfg=white ctermbg=red
highlight Socket cterm=none ctermfg=red ctermbg=default
highlight Device cterm=none ctermfg=red ctermbg=default
highlight Fifo cterm=none ctermfg=black ctermbg=cyan
highlight Executable cterm=none ctermfg=green ctermbg=default
highlight Selected cterm=bold ctermfg=magenta ctermbg=default
highlight CurrLine cterm=bold ctermfg=white ctermbg=magenta
highlight TopLine cterm=bold ctermfg=magenta ctermbg=default
highlight TopLineSel cterm=bold ctermfg=magenta ctermbg=white
highlight StatusLine cterm=bold ctermfg=magenta ctermbg=white
"highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
highlight CmdLine cterm=bold ctermfg=magenta ctermbg=default
"highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
highlight Border cterm=none ctermfg=default ctermbg=default
"highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white