dotfiles/nixos/kat.nix

50 lines
1.0 KiB
Nix

{ pkgs, inputs, ... }:
{
imports = [
inputs.home-manager.nixosModule
];
environment.systemPackages = with pkgs; [
bitwarden
obsidian
vlc
obs-studio
ffmpeg
];
environment.extraInit = ''
export PAGER=cat
'';
home-manager.users.kat = { pkgs, config, ... }: {
services.gpg-agent = {
enable = true;
defaultCacheTtl = 8 * 60 * 60;
maxCacheTtl = 8 * 60 * 60;
enableSshSupport = true;
pinentryFlavor = "qt";
};
services.kdeconnect = {
enable = true;
indicator = true;
};
services.git-sync = {
enable = true;
repositories = {
obsidian = {
path = config.home.homeDirectory + "/obsidian";
uri = "git@github.com:katandtonic/obsidian.git";
interval = 60;
};
org = {
path = config.home.homeDirectory + "/org";
uri = "ssh://gitea@1896Folsom.duckdns.org:1123/kkathuang/org.git";
interval = 45;
};
};
};
home.stateVersion = "23.11";
};
}