dotfiles
This commit is contained in:
parent
e945735fa1
commit
b4b1f4a63f
36 changed files with 716 additions and 94 deletions
|
|
@ -263,11 +263,11 @@ in
|
|||
{ key = "l"; map = [ "index" "pager" ]; action = "<enter-command>unset signature<enter><list-reply>"; }
|
||||
];
|
||||
|
||||
extraConfig = builtins.readFile ../dotfiles/neomutt/config.neomuttrc;
|
||||
extraConfig = builtins.readFile ../../dotfiles/neomutt/config.neomuttrc;
|
||||
};
|
||||
|
||||
xdg.configFile."neomutt/colors.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/neomutt/colors.neomuttrc";
|
||||
xdg.configFile."neomutt/bindings.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/neomutt/bindings.neomuttrc";
|
||||
xdg.configFile."neomutt/colors.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/dotfiles/neomutt/colors.neomuttrc";
|
||||
xdg.configFile."neomutt/bindings.neomuttrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/dotfiles/neomutt/bindings.neomuttrc";
|
||||
programs.neovim.plugins = with pkgs.vimPlugins; [
|
||||
{
|
||||
plugin = vim-pathogen;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ in
|
|||
{
|
||||
home.packages = with pkgs; [
|
||||
R-packed
|
||||
RStudio-packed
|
||||
# RStudio-packed
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
|
|
|
|||
|
|
@ -1,13 +1,8 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
home.file.".npmrc".text = ''
|
||||
prefix = ${config.xdg.dataHome}/npm/packages
|
||||
'';
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nodejs
|
||||
];
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
|
|
@ -64,13 +65,27 @@
|
|||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
"NixOS Options" = {
|
||||
urls = [{ template = "https://search.nixos.org/options?channel=${osConfig.system.nixos.release}&query={searchTerms}"; }];
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/options";
|
||||
params = [
|
||||
# { name = "channel"; value = "${osConfig.system.nixos.release}"; }
|
||||
{ name = "channel"; value = "unstable"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "https://nixos.org/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = [ "@no" ];
|
||||
};
|
||||
"Home manager options" = {
|
||||
urls = [{ template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=release-${osConfig.system.nixos.release}"; }];
|
||||
urls = [{
|
||||
template = "https://home-manager-options.extranix.com";
|
||||
params = [
|
||||
# { name = "release"; value = "release-${osConfig.system.nixos.release}"; }
|
||||
{ name = "release"; value = "master"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = [ "@hm" ];
|
||||
|
|
@ -148,7 +163,6 @@
|
|||
user_pref("signon.rememberSignons", false);
|
||||
user_pref("toolkit.telemetry.enabled", false);
|
||||
user_pref("toolkit.telemetry.server", "");
|
||||
user_pref("widget.gtk.libadwaita-colors.enabled", false);
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
};
|
||||
xdg.configFile."foot" = {
|
||||
recursive = true;
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/foot";
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/dotfiles/foot";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,18 +5,18 @@
|
|||
services.polkit-gnome.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
dgop
|
||||
dsearch
|
||||
wl-mirror
|
||||
xwayland-satellite
|
||||
adw-gtk3
|
||||
];
|
||||
|
||||
programs.foot.server.enable = true;
|
||||
|
||||
# programs.ghostty.enable = true;
|
||||
|
||||
# programs.firefox.preferences = {
|
||||
# "widget.gtk.libadwaita-colors.enabled" = true;
|
||||
# };
|
||||
|
||||
# xdg.configFile."polybar/config.ini".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/home/dotfiles/polybar/config.ini";
|
||||
xdg.configFile = {
|
||||
"niri/config.kdl".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/dotfiles/niri/config.kdl";
|
||||
"niri/dms" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/dotfiles/niri/dms";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
setSessionVariables = false;
|
||||
desktop = "${config.home.homeDirectory}/desktop";
|
||||
documents = "${config.home.homeDirectory}/misc";
|
||||
download = "${config.home.homeDirectory}/tmp";
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
[colors]
|
||||
cursor=232634 f2d5cf
|
||||
foreground=c6d0f5
|
||||
background=303446
|
||||
|
||||
regular0=51576d
|
||||
regular1=e78284
|
||||
regular2=a6d189
|
||||
regular3=e5c890
|
||||
regular4=8caaee
|
||||
regular5=f4b8e4
|
||||
regular6=81c8be
|
||||
regular7=b5bfe2
|
||||
|
||||
bright0=626880
|
||||
bright1=e78284
|
||||
bright2=a6d189
|
||||
bright3=e5c890
|
||||
bright4=8caaee
|
||||
bright5=f4b8e4
|
||||
bright6=81c8be
|
||||
bright7=a5adce
|
||||
|
||||
16=ef9f76
|
||||
17=f2d5cf
|
||||
|
||||
selection-foreground=c6d0f5
|
||||
selection-background=4f5369
|
||||
|
||||
search-box-no-match=232634 e78284
|
||||
search-box-match=c6d0f5 414559
|
||||
|
||||
jump-labels=232634 ef9f76
|
||||
urls=8caaee
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
[colors-light]
|
||||
cursor=eff1f5 dc8a78
|
||||
foreground=4c4f69
|
||||
background=eff1f5
|
||||
|
||||
regular0=5c5f77
|
||||
regular1=d20f39
|
||||
regular2=40a02b
|
||||
regular3=df8e1d
|
||||
regular4=1e66f5
|
||||
regular5=ea76cb
|
||||
regular6=179299
|
||||
regular7=acb0be
|
||||
|
||||
bright0=6c6f85
|
||||
bright1=d20f39
|
||||
bright2=40a02b
|
||||
bright3=df8e1d
|
||||
bright4=1e66f5
|
||||
bright5=ea76cb
|
||||
bright6=179299
|
||||
bright7=bcc0cc
|
||||
|
||||
16=fe640b
|
||||
17=dc8a78
|
||||
|
||||
selection-foreground=4c4f69
|
||||
selection-background=ccced7
|
||||
|
||||
search-box-no-match=dce0e8 d20f39
|
||||
search-box-match=4c4f69 ccd0da
|
||||
|
||||
jump-labels=dce0e8 fe640b
|
||||
urls=1e66f5
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
[colors]
|
||||
cursor=181926 f4dbd6
|
||||
foreground=cad3f5
|
||||
background=24273a
|
||||
|
||||
regular0=494d64
|
||||
regular1=ed8796
|
||||
regular2=a6da95
|
||||
regular3=eed49f
|
||||
regular4=8aadf4
|
||||
regular5=f5bde6
|
||||
regular6=8bd5ca
|
||||
regular7=b8c0e0
|
||||
|
||||
bright0=5b6078
|
||||
bright1=ed8796
|
||||
bright2=a6da95
|
||||
bright3=eed49f
|
||||
bright4=8aadf4
|
||||
bright5=f5bde6
|
||||
bright6=8bd5ca
|
||||
bright7=a5adcb
|
||||
|
||||
16=f5a97f
|
||||
17=f4dbd6
|
||||
|
||||
selection-foreground=cad3f5
|
||||
selection-background=454a5f
|
||||
|
||||
search-box-no-match=181926 ed8796
|
||||
search-box-match=cad3f5 363a4f
|
||||
|
||||
jump-labels=181926 f5a97f
|
||||
urls=8aadf4
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
[colors-dark]
|
||||
cursor=11111b f5e0dc
|
||||
foreground=cdd6f4
|
||||
background=1e1e2e
|
||||
|
||||
regular0=45475a
|
||||
regular1=f38ba8
|
||||
regular2=a6e3a1
|
||||
regular3=f9e2af
|
||||
regular4=89b4fa
|
||||
regular5=f5c2e7
|
||||
regular6=94e2d5
|
||||
regular7=bac2de
|
||||
|
||||
bright0=585b70
|
||||
bright1=f38ba8
|
||||
bright2=a6e3a1
|
||||
bright3=f9e2af
|
||||
bright4=89b4fa
|
||||
bright5=f5c2e7
|
||||
bright6=94e2d5
|
||||
bright7=a6adc8
|
||||
|
||||
16=fab387
|
||||
17=f5e0dc
|
||||
|
||||
selection-foreground=cdd6f4
|
||||
selection-background=414356
|
||||
|
||||
search-box-no-match=11111b f38ba8
|
||||
search-box-match=cdd6f4 313244
|
||||
|
||||
jump-labels=11111b fab387
|
||||
urls=89b4fa
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
[colors]
|
||||
foreground=181c20
|
||||
background=f7f9ff
|
||||
selection-foreground=181c20
|
||||
selection-background=e3f2fd
|
||||
cursor = f7f9ff 1976d2
|
||||
|
||||
regular0=101418
|
||||
regular1=c7003b
|
||||
regular2=009d14
|
||||
regular3=fbee00
|
||||
regular4=1077dc
|
||||
regular5=b7dbff
|
||||
regular6=1976d2
|
||||
regular7=36383a
|
||||
bright0=aaaeb2
|
||||
bright1=fb1e60
|
||||
bright2=07e724
|
||||
bright3=fff100
|
||||
bright4=077df1
|
||||
bright5=b7dbff
|
||||
bright6=8ec7ff
|
||||
bright7=f6faff
|
||||
|
||||
dim-blend-towards=white
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
[main]
|
||||
font=JetBrains Mono:size=12
|
||||
pad=15x15
|
||||
include=~/.config/foot/catppuccin-mocha.ini
|
||||
include=~/.config/foot/catppuccin-latte.ini
|
||||
# include=~/.config/foot/dank-colors.ini
|
||||
|
||||
[csd]
|
||||
size=0
|
||||
|
||||
[cursor]
|
||||
blink=true
|
||||
style=beam
|
||||
|
||||
[key-bindings]
|
||||
show-urls-copy=Control+Shift+y
|
||||
show-urls-launch=Control+Shift+g
|
||||
color-theme-toggle=Control+comma
|
||||
|
||||
[mouse]
|
||||
hide-when-typing=yes
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
# compose
|
||||
|
||||
macro index,pager go "<shell-escape>mbsync $my_account && notmuch new<enter>" "Sync this account"
|
||||
macro index,pager gO "<shell-escape>mbsync -a && notmuch new<enter>" "Sync all accounts"
|
||||
|
||||
bind index,pager / noop
|
||||
macro index,pager // "<vfolder-from-query-readonly>folder:/$my_account/" "Find in account"
|
||||
macro index,pager g/ "<vfolder-from-query-readonly>" "Find in all accounts"
|
||||
macro index,pager /! "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_spoolfile" "Find in inbox"
|
||||
macro index,pager /< "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_record" "Find in sent"
|
||||
macro index,pager /> "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_mbox" "Find in archive"
|
||||
macro index,pager /d "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_postponed" "Find in drafts"
|
||||
macro index,pager /t "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_trash" "Find in trash"
|
||||
macro index,pager /j "<vfolder-from-query-readonly>folder:+$my_account/$my_nm_junk" "Find in junk"
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
# color index_flags brightmagenta default '.*'
|
||||
# color index_date cyan default
|
||||
color header brightblack default ".*"
|
||||
color header brightgreen default "^(Subject)"
|
||||
color header yellow default "^(From|To|CC|BCC)"
|
||||
color header blue default "^Date"
|
||||
color message cyan default
|
||||
color error red default
|
||||
color tilde black default
|
||||
color normal default default
|
||||
color attachment brightblack default
|
||||
color search black yellow
|
||||
color quoted green default
|
||||
color quoted1 blue default
|
||||
color quoted2 cyan default
|
||||
color quoted3 yellow default
|
||||
color quoted4 red default
|
||||
color quoted5 brightred default
|
||||
color signature cyan default
|
||||
color underline black default
|
||||
color body blue default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||
color body blue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||
color body red default "(BAD signature)"
|
||||
color body green default "(Good signature)"
|
||||
color body brightblack default "^gpg: .*"
|
||||
color body green default "^gpg: Good signature .*"
|
||||
color body red default "^gpg: BAD signature from.*"
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
# External
|
||||
|
||||
set my_download_folder = ~/tmp
|
||||
|
||||
# Status bar
|
||||
|
||||
set status_chars = "✔↻٪A"
|
||||
unset help
|
||||
|
||||
# Index
|
||||
|
||||
set index_format = "%-25.25F %<[y?%<[7d?%<[d?%[ %H:%M]&%[%a %H:%M]>&%[%d.%m. %Hh]>&%[%d.%m.%Y]> %Z %?X?▼ &?%s"
|
||||
set strict_threads
|
||||
set send_charset = "utf-8:iso-8859-1:us-ascii"
|
||||
set charset = "utf-8"
|
||||
|
||||
# Pager view
|
||||
|
||||
set pager_index_lines = 10
|
||||
set pager_context = 3
|
||||
set pager_stop
|
||||
set smart_wrap
|
||||
set menu_scroll
|
||||
set tilde
|
||||
unset markers
|
||||
ignore *
|
||||
unignore from: to: cc: bcc: date: subject:
|
||||
unhdr_order *
|
||||
hdr_order from: to: cc: bcc: date: subject:
|
||||
alternative_order text/plain text/enriched text/html
|
||||
auto_view text/html
|
||||
|
||||
# Attachments
|
||||
|
||||
set rfc2047_parameters
|
||||
set attach_save_dir = $my_download_folder
|
||||
|
||||
# Alias
|
||||
|
||||
set alias_file = ~/.local/share/neomutt/aliases.neomuttrc
|
||||
source $alias_file
|
||||
|
||||
source colors.neomuttrc
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
signing.format = "openpgp";
|
||||
settings = {
|
||||
pull.rebase = true;
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
|
|
|
|||
|
|
@ -234,6 +234,9 @@
|
|||
'';
|
||||
}
|
||||
];
|
||||
|
||||
withRuby = false;
|
||||
withPython3 = true;
|
||||
};
|
||||
|
||||
xdg.configFile."nvim" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue