vaultwarden

This commit is contained in:
Tristan 2024-02-17 01:01:37 +00:00
parent b5b763bd40
commit 9d661deba1
7 changed files with 90 additions and 82 deletions

View file

@ -4,35 +4,15 @@
lib,
...
}:
# https://nix-community.github.io/home-manager/options.xhtml
{
imports = [
# ./modules/terminal.nix
# ./modules/scripts.nix
# ./modules/email.nix
# ./modules/mpd.nix
# ./modules/menu.nix
# ./modules/scripts.nix
# ./programs/scripts.nix
./programs/neovim/.
./programs/helix.nix
./programs/git.nix
./programs/lf/.
./programs/zsh.nix
{
options.windowManager.modifierKey = lib.mkOption {default = "SUPER";};
}
];
# programs.menu = {
# package = pkgs.tofi;
# dmenuCommand = "${pkgs.tofi}/bin/tofi --fuzzy-match true";
# drunCommand = "${pkgs.tofi}/bin/tofi-drun --drun-launch true";
# };
# roles.mpd.enable = true;
programs.home-manager.enable = true;
home.homeDirectory = "/home/${config.home.username}";
@ -51,70 +31,26 @@
mosh
ripgrep
usbutils
# wl-clipboard
du-dust
htop
libsixel
yt-dlp
ytfzf
# playerctl
neofetch
tree
ansible
# quickemu
];
services.udiskie = {
enable = true;
notify = true;
};
programs.rbw = {
enable = true;
settings = {
email = "tristan@tristans.cloud";
base_url = "https://vault.tristans.cloud";
pinentry = "gnome3";
pinentry = lib.mkDefault "tty";
};
};
programs.ssh.enable = true;
programs.ssh.matchBlocks = {
"git.tristans.cloud" = {
user = "git";
hostname = "100.116.82.65";
port = 2222;
};
"alpine" = {
hostname = "100.116.82.65";
user = "tristan";
};
};
# home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ";
# home.file.".config/pipewire/pipewire.conf.d/raop-discover.conf".text = ''
# context.modules = [
# {
# name = libpipewire-module-raop-discover
# args = { }
# }
# ]
# '';
# services.kdeconnect = {
# enable = true;
# indicator = true;
# };
# programs.pandoc = {
# enable = true;
# defaults = {
# metadata = {
# author = "Tristan Beedell";
# };
# pdf-engine = "xelatex";
# };
# };
programs.direnv.enable = true;
}