tvl-depot/users/tazjin/nixos/modules/physical.nix
Vincent Ambo f110b10faf feat(tazjin/nixos): Add pass-otp extension
This lets pass create TOTP tokens, which is very handy.

Change-Id: I85b699087e83c3d18cd8840df11c4e27c85e1f3f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5578
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-12 12:15:19 +00:00

90 lines
1.5 KiB
Nix

# Default configuration settings for physical machines that I use.
{ pkgs, depot, ... }:
let
pass-otp = pkgs.pass.withExtensions (e: [ e.pass-otp ]);
in
{
# Install all the default software.
environment.systemPackages =
# programs from the depot
(with depot; [
users.tazjin.screenLock
users.tazjin.emacs
third_party.agenix.cli
]) ++
# programs from nixpkgs
(with pkgs; [
amber
audacity
bat
curl
ddcutil
direnv
dmd
dnsutils
electrum
emacsNativeComp # emacsclient
exa
fd
file
firefox
fractal
gdb
gh
git
gnupg
google-chrome
gtk3 # for gtk-launch
htop
hyperfine
iftop
imagemagick
jq
lieer
man-pages
mosh
msmtp
mullvad-vpn
networkmanagerapplet
nix-prefetch-github
nmap
notmuch
openssh
openssl
paperlike-go
pass-otp
pavucontrol
pinentry
pinentry-emacs
pulseaudio # for pactl
pwgen
quasselClient
rink
ripgrep
rustup
screen
scrot
tig
tokei
tree
unzip
vlc
whois
xsecurelock
zoxide
]);
# Run services & configure programs for all machines.
services = {
mullvad-vpn.enable = true;
fwupd.enable = true;
};
programs = {
fish.enable = true;
mosh.enable = true;
ssh.startAgent = true;
};
}