This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs | |
, ... | |
}: | |
{ | |
environment.systemPackages = [ | |
(pkgs.fuzzel.overrideAttrs (o: { | |
patches = (o.patches or [ ]) ++ [ | |
./0001-vim-like-keybinds.patch | |
]; | |
})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function GetShellInput() | |
call inputsave() | |
let in = system(input('sh: ')) | return (substitute(in, '\n$', ''', ''')) | |
call inputrestore() | |
endfunction | |
nnoremap <leader>sh :exec 'normal a' . call("GetShellInput",[])<CR> | |
vnoremap <leader>sh c<C-R>=call("GetShellInput",[])<CR><ESC> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Nixpkgs-Package Search" = { | |
urls = [{ template = "https://search.nixos.org/packages?channel=unstable&size=250&sort=relevance&type=packages&query={searchTerms}"; }]; | |
iconUpdateURL = "https://nixos.org/favicon.png"; | |
updateInterval = 24 * 60 * 60 * 1000; # every day | |
definedAliases = [ "@nps" ]; | |
}; | |
"Nixpkgs-Modules Search" = { | |
urls = [{ template = "https://search.nixos.org/options?channel=unstable&size=200&sort=relevance&query={searchTerms}"; }]; | |
iconUpdateURL = "https://nixos.org/favicon.png"; | |
updateInterval = 24 * 60 * 60 * 1000; # every day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ inputs, config, ... }: | |
{ | |
sops.secrets = let sopsFile = "${inputs.self}/secrets/shared.yaml"; in { | |
"backup/ssh-key" = { | |
sopsFile = sopsFile; | |
}; | |
"backup/password" = { | |
sopsFile = sopsFile; | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, ... }: | |
{ | |
sops.secrets."miniflux" = { | |
mode = "0400"; | |
path = "$XDG_RUNTIME_DIR/secrets/miniflux"; | |
}; | |
programs.newsboat = { | |
enable = true; | |
autoReload = true; | |
extraConfig = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
services.udev.packages = with pkgs; [ | |
yubikey-personalization | |
]; | |
environment.systemPackages = with pkgs; [ | |
libfido2 | |
pam_u2f | |
]; |