diesdas
This commit is contained in:
parent
2887604a3f
commit
65e136fd95
8 changed files with 62 additions and 14 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701433070,
|
"lastModified": 1702110948,
|
||||||
"narHash": "sha256-Gf9JStfENaUQ7YWFz3V7x/srIwr4nlnVteqaAxtwpgM=",
|
"narHash": "sha256-GzK0k5kFgZLbeaOPPoFS4C2BP8vZ0fAH36UtbFRnrWs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4a8545f5e737a6338814a4676dc8e18c7f43fc57",
|
"rev": "efa36e896951bec8d96e38ea40a22c010bd1bd8f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701389149,
|
"lastModified": 1701952659,
|
||||||
"narHash": "sha256-rU1suTIEd5DGCaAXKW6yHoCfR1mnYjOXQFOaH7M23js=",
|
"narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5de0b32be6e85dc1a9404c75131316e4ffbc634c",
|
"rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -38,11 +38,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701595091,
|
"lastModified": 1702118209,
|
||||||
"narHash": "sha256-vqncvyr9sXKjKo8i6TePntG9HaeihB7Lp0QxXVIdwNA=",
|
"narHash": "sha256-k1m1DtnqBMGr3J0vyS6CyBQwJni820lLXdfhJDmcrdQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nur",
|
"repo": "nur",
|
||||||
"rev": "b1868c9209bd28d9c76251649cfc4f0d72d87601",
|
"rev": "89ddb7a494640ae6209d2c5937db3776928e6ff8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,11 @@
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bottom = {
|
||||||
|
enable = true;
|
||||||
|
settings.flags.color = "default-light";
|
||||||
|
};
|
||||||
|
|
||||||
programs.obs-studio.enable = true;
|
programs.obs-studio.enable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,50 @@
|
||||||
linkhints
|
linkhints
|
||||||
keepassxc-browser
|
keepassxc-browser
|
||||||
];
|
];
|
||||||
|
search = {
|
||||||
|
force = true;
|
||||||
|
default = "Google";
|
||||||
|
engines = {
|
||||||
|
"Nix Packages" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://search.nixos.org/packages";
|
||||||
|
params = [
|
||||||
|
{ name = "type"; value = "packages"; }
|
||||||
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = [ "@np" ];
|
||||||
|
};
|
||||||
|
"NixOS Wiki" = {
|
||||||
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
|
definedAliases = [ "@nw" ];
|
||||||
|
};
|
||||||
|
"Home manager options" = {
|
||||||
|
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
|
definedAliases = [ "@hm" ];
|
||||||
|
};
|
||||||
|
"Google maps" = {
|
||||||
|
urls = [{ template = "http://maps.google.com/?q={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://www.google.com/images/branding/product/ico/maps15_bnuw3a_32dp.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
|
definedAliases = [ "@gm" ];
|
||||||
|
};
|
||||||
|
"Google scholar" = {
|
||||||
|
urls = [{ template = "https://scholar.google.com/scholar?q={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://scholar.google.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
|
definedAliases = [ "@gs" ];
|
||||||
|
};
|
||||||
|
"Wikipedia (en)".metaData.alias = "@wiki";
|
||||||
|
"Bing".metaData.hidden = true;
|
||||||
|
"Amazon.de".metaData.hidden = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
user_pref("app.shield.optoutstudies.enabled", false);
|
user_pref("app.shield.optoutstudies.enabled", false);
|
||||||
user_pref("browser.aboutConfig.showWarning", false);
|
user_pref("browser.aboutConfig.showWarning", false);
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = "fish_add_path ${config.xdg.dataHome}/npm/packages/bin";
|
interactiveShellInit = "fish_add_path ${config.xdg.dataHome}/npm/packages/bin";
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
htop = "btm -b";
|
||||||
linkbox = "ln -s (pwd) ~/box/";
|
linkbox = "ln -s (pwd) ~/box/";
|
||||||
rloft = "tmux source-file ~/.config/tmux/rloft.conf";
|
rloft = "tmux source-file ~/.config/tmux/rloft.conf";
|
||||||
liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/";
|
liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/";
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,6 @@ set updatetime=300
|
||||||
let g:netrw_liststyle = 3
|
let g:netrw_liststyle = 3
|
||||||
let g:netrw_fastbrowse = 0
|
let g:netrw_fastbrowse = 0
|
||||||
|
|
||||||
nnoremap <leader>ve :edit $MYVIMRC<return>
|
|
||||||
nnoremap <leader>vs :source $MYVIMRC<return>
|
|
||||||
|
|
||||||
nnoremap Y y$
|
nnoremap Y y$
|
||||||
|
|
||||||
nnoremap gF :edit <cfile><return>
|
nnoremap gF :edit <cfile><return>
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
nnoremap <leader>R :Read ~/
|
nnoremap <leader>R :Read ~/
|
||||||
nnoremap <leader>a :Ag<cr>
|
nnoremap <leader>a :Ag<cr>
|
||||||
nnoremap <leader>b :Buffers<cr>
|
nnoremap <leader>b :Buffers<cr>
|
||||||
nnoremap <leader>. :Files ~/omniflake/<return>
|
nnoremap <leader>. :Files ~/.config/omniflake/<return>
|
||||||
command! -nargs=? -complete=dir Read call fzf#run(
|
command! -nargs=? -complete=dir Read call fzf#run(
|
||||||
\fzf#wrap({'sink': 'read', 'dir': <q-args>})
|
\fzf#wrap({'sink': 'read', 'dir': <q-args>})
|
||||||
\)
|
\)
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@ lua <<EOF
|
||||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, {})
|
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, {})
|
||||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, {})
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, {})
|
||||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
|
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
|
||||||
|
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, {})
|
||||||
end
|
end
|
||||||
|
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
firefox
|
firefox
|
||||||
foot
|
foot
|
||||||
git
|
git
|
||||||
bottom
|
htop
|
||||||
killall
|
killall
|
||||||
neovim
|
neovim
|
||||||
pciutils
|
pciutils
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue