1
Fork 0

Reduce pass to libsecret service (and more)

- Reduce all pass integrations but that of a local libsecret service
- Fix "kanata" typos in the readme
- Fix typo in emergency script
- Remove dns level blocklisting for twitter (it's blocked using leechblock now)
- Add keybind for a certain auto form script to hyprland (it's commented out for now)
This commit is contained in:
prescientmoon 2024-03-04 11:33:59 +01:00
parent 6e8611aa4b
commit c0f12e1bf0
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
6 changed files with 14 additions and 25 deletions

View file

@ -61,7 +61,7 @@ Here's some things you might want to check out:
### Input handling
- [kanta](https://github.com/jtroo/kanata) — software-level keyboard layout customizer. One of the few such programs with support for chording
- [kanata](https://github.com/jtroo/kanata) — software-level keyboard layout customizer. One of the few such programs with support for chording
- [opentabletdriver](https://opentabletdriver.net/)
### Graphical
@ -130,7 +130,7 @@ Includes links to stuff which used to be in the previous section but is not used
- [Paperplanes.nvim](https://rktjmp/paperplanes.nvim) — replaced by a single curl call
- [Eww](https://github.com/elkowar/eww) - experimented with eww for a bit, but setup was painful and bars are a bit useless
- [Neogit](https://github.com/NeogitOrg/neogit) — was a bit slow / clunky, so I switched to [lazygit](https://github.com/jesseduffield/lazygit)
- [Slambda](https://github.com/Mateiadrielrafael/slambda) — custom keyboard chording utility. I retired the project in favour of [kanta](https://github.com/jtroo/kanata)
- [Slambda](https://github.com/Mateiadrielrafael/slambda) — custom keyboard chording utility. I retired the project in favour of [kanata](https://github.com/jtroo/kanata)
- [GPG](https://gnupg.org/) + [pass](https://www.passwordstore.org/) — I switched to [vaultwarden](https://github.com/dani-garcia/vaultwarden/)
- [Agenix](https://github.com/ryantm/agenix) & [homeage](https://github.com/jordanisaacs/homeage) — I switched to [sops-nix](https://github.com/Mic92/sops-nix)
- [Mind.nvim](https://github.com/phaazon/mind.nvim) — self management tree editor. The project got archived, so I switched to [Smos](https://github.com/NorfairKing/smos).

View file

@ -1,3 +1,6 @@
# I use bitwarden as my main password manager.
#
# This currently acts as a simple local libsecret store.
{ pkgs, config, lib, ... }:
let storePath = "${config.home.homeDirectory}/.password-store";
in
@ -12,13 +15,5 @@ in
enable = true;
};
# Enable runner integration
home.packages = lib.lists.optional config.programs.wofi.enable pkgs.wofi-pass;
# Enable the firefox extension
home.file.".mozilla/native-messaging-hosts/passff.json".source =
lib.mkIf config.programs.firefox.enable
"${pkgs.passff-host}/lib/mozilla/native-messaging-hosts/passff.json";
satellite.persistence.at.data.apps.pass.directories = [ storePath ];
}

View file

@ -96,6 +96,7 @@ bind = $mod, L, exec, loginctl lock-session # Lock screen
bind = $mod, P, exec, anyrun
bind = $mod, B, exec, wlsunset-toggle # Toggle blue light filter thingy
bind = $mod, V, exec, wezterm start vimclip # Vim anywhere!
# bind = $mod, W, exec, /home/adrielus/projects/solar-sandbox/python/form-filler/type.sh
# Work with the special workspace
bind = $mod, x, togglespecialworkspace,

View file

@ -53,7 +53,7 @@
networking.extraHosts =
let
blacklisted = [
"twitter.com"
# "twitter.com"
# "www.reddit.com"
# "minesweeper.online"
];

View file

@ -1,22 +1,15 @@
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.
};
let commonVersioning = {
type = "staggered";
params = {
cleanInterval = "3600"; # 1 hour in seconds
maxAge = "604800"; # 14 days in seconds.
};
};
in
{
imports = [ ../../common/optional/services/syncthing.nix ];
services.syncthing.settings.folders = {
"mythical-vault" = {
path = "/home/adrielus/.password-store";
devices = [ "enceladus" "lapetus" ];
versioning = commonVersioning;
};
"stellar-sanctum" = {
path = "/home/adrielus/projects/stellar-sanctum/";
devices = [ "enceladus" "lapetus" ];

View file

@ -1,4 +1,4 @@
#!/usr/bin/env nix-shellge
#!/usr/bin/env nix-shell
#!nix-shell ../devshells/bootstrap/shell.nix
#!nix-shell -i bash