feat(MOMO): setup syncthing and vaultwarden
This commit is contained in:
parent
7968a18271
commit
6ca4dd9e57
33 changed files with 419 additions and 149 deletions
|
|
@ -5,8 +5,6 @@
|
|||
pkgs.gopass-jsonapi # enables communication with gopass via json messages
|
||||
pkgs.bitwarden-cli # secure and free password manager for all of your devices
|
||||
pkgs.yt-dlp # command-line tool to download videos from youtube.com and other sites (youtube-dl fork)
|
||||
pkgs.gdu # fast disk usage analyzer with console interface written in go
|
||||
pkgs.duf # disk usage/free utility - a better 'df' alternative
|
||||
pkgs.stress # simple workload generator for posix systems. it imposes a configurable amount of cpu, memory, i/o, and disk stress on the system
|
||||
pkgs.s-tui # stress-terminal ui monitoring tool
|
||||
pkgs.fio # flexible io tester - an io benchmark tool
|
||||
|
|
|
|||
|
|
@ -1,63 +1,64 @@
|
|||
{ config, ... }@inputs:
|
||||
{ lib, config, ... }@inputs:
|
||||
let
|
||||
common = import ../core/common.nix;
|
||||
in
|
||||
{
|
||||
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
users.users.gandalf = {
|
||||
isNormalUser = true;
|
||||
extraGroups = config.bchmnn.user.extraGroups;
|
||||
openssh = {
|
||||
authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAOG8Sja2i6nepkEkuxYdu86XbT9vS5uniBmZifSMZ0t jacob.bachmann@posteo.de"
|
||||
];
|
||||
config = lib.mkIf (config.bchmnn.home.enable) {
|
||||
users.users.gandalf = {
|
||||
isNormalUser = true;
|
||||
extraGroups = config.bchmnn.user.extraGroups;
|
||||
openssh = {
|
||||
authorizedKeys = {
|
||||
keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAOG8Sja2i6nepkEkuxYdu86XbT9vS5uniBmZifSMZ0t jacob.bachmann@posteo.de"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
|
||||
home-manager.users.gandalf = rec {
|
||||
imports = [
|
||||
./gui
|
||||
./scripts
|
||||
./applications.nix
|
||||
./audio.nix
|
||||
./dconf.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
./keyd.nix
|
||||
./neovim.nix
|
||||
./shell.nix
|
||||
./zsh.nix
|
||||
];
|
||||
home-manager.users.gandalf = rec {
|
||||
imports = [
|
||||
./gui
|
||||
./scripts
|
||||
./applications.nix
|
||||
./audio.nix
|
||||
./dconf.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
./keyd.nix
|
||||
./neovim.nix
|
||||
./shell.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
home = {
|
||||
username = "gandalf";
|
||||
homeDirectory = "/home/gandalf";
|
||||
shellAliases = common.aliases;
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
config = {
|
||||
home = {
|
||||
username = "gandalf";
|
||||
homeDirectory = "/home/gandalf";
|
||||
shellAliases = common.aliases;
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/tmp";
|
||||
documents = "${config.home.homeDirectory}/docs";
|
||||
download = "${config.home.homeDirectory}/dl";
|
||||
music = "${config.home.homeDirectory}/music";
|
||||
pictures = "${config.home.homeDirectory}/pics";
|
||||
publicShare = "${config.home.homeDirectory}/public";
|
||||
templates = "${config.home.homeDirectory}/templates";
|
||||
videos = "${config.home.homeDirectory}/vids";
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/tmp";
|
||||
documents = "${config.home.homeDirectory}/docs";
|
||||
download = "${config.home.homeDirectory}/dl";
|
||||
music = "${config.home.homeDirectory}/music";
|
||||
pictures = "${config.home.homeDirectory}/pics";
|
||||
publicShare = "${config.home.homeDirectory}/public";
|
||||
templates = "${config.home.homeDirectory}/templates";
|
||||
videos = "${config.home.homeDirectory}/vids";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue