2022-05-09 13:35:55 +02:00
|
|
|
# Default configuration settings for physical machines that I use.
|
2022-07-14 17:29:29 +02:00
|
|
|
{ lib, pkgs, depot, ... }:
|
2022-05-09 13:35:55 +02:00
|
|
|
|
2022-05-12 13:06:26 +02:00
|
|
|
let
|
|
|
|
pass-otp = pkgs.pass.withExtensions (e: [ e.pass-otp ]);
|
|
|
|
in
|
2022-05-09 13:35:55 +02:00
|
|
|
{
|
|
|
|
# Install all the default software.
|
|
|
|
environment.systemPackages =
|
|
|
|
# programs from the depot
|
|
|
|
(with depot; [
|
|
|
|
users.tazjin.screenLock
|
|
|
|
users.tazjin.emacs
|
|
|
|
third_party.agenix.cli
|
2022-05-30 10:01:59 +02:00
|
|
|
third_party.josh
|
2022-05-09 13:35:55 +02:00
|
|
|
]) ++
|
|
|
|
|
|
|
|
# programs from nixpkgs
|
|
|
|
(with pkgs; [
|
|
|
|
amber
|
|
|
|
bat
|
|
|
|
curl
|
|
|
|
ddcutil
|
|
|
|
direnv
|
|
|
|
dnsutils
|
|
|
|
electrum
|
2022-12-12 10:48:21 +01:00
|
|
|
emacsUnstable # emacsclient
|
2022-05-09 13:35:55 +02:00
|
|
|
exa
|
|
|
|
fd
|
|
|
|
file
|
|
|
|
gdb
|
|
|
|
gh
|
|
|
|
git
|
|
|
|
gnupg
|
|
|
|
google-chrome
|
|
|
|
gtk3 # for gtk-launch
|
|
|
|
htop
|
|
|
|
hyperfine
|
|
|
|
iftop
|
|
|
|
imagemagick
|
|
|
|
jq
|
|
|
|
lieer
|
|
|
|
man-pages
|
2022-05-30 17:09:36 +02:00
|
|
|
moreutils
|
2022-05-09 13:35:55 +02:00
|
|
|
mosh
|
|
|
|
msmtp
|
|
|
|
mullvad-vpn
|
|
|
|
networkmanagerapplet
|
|
|
|
nix-prefetch-github
|
|
|
|
nmap
|
|
|
|
notmuch
|
|
|
|
openssh
|
|
|
|
openssl
|
2022-05-12 13:06:26 +02:00
|
|
|
pass-otp
|
2022-05-09 13:35:55 +02:00
|
|
|
pavucontrol
|
|
|
|
pinentry
|
|
|
|
pinentry-emacs
|
|
|
|
pulseaudio # for pactl
|
|
|
|
pwgen
|
|
|
|
quasselClient
|
|
|
|
rink
|
|
|
|
ripgrep
|
2022-05-30 10:01:59 +02:00
|
|
|
rust-analyzer
|
2022-05-09 13:35:55 +02:00
|
|
|
rustup
|
|
|
|
screen
|
|
|
|
scrot
|
2022-07-05 17:04:05 +02:00
|
|
|
thunderbird
|
2022-05-09 13:35:55 +02:00
|
|
|
tig
|
|
|
|
tokei
|
|
|
|
tree
|
2023-01-04 12:52:16 +01:00
|
|
|
ungoogled-chromium
|
2022-05-09 13:35:55 +02:00
|
|
|
unzip
|
|
|
|
vlc
|
2022-06-09 08:05:04 +02:00
|
|
|
volumeicon
|
2022-05-09 13:35:55 +02:00
|
|
|
whois
|
2022-05-30 10:01:59 +02:00
|
|
|
xclip
|
2022-05-09 13:35:55 +02:00
|
|
|
xsecurelock
|
|
|
|
zoxide
|
|
|
|
]);
|
2022-05-09 17:04:52 +02:00
|
|
|
|
|
|
|
# Run services & configure programs for all machines.
|
|
|
|
services = {
|
|
|
|
mullvad-vpn.enable = true;
|
|
|
|
fwupd.enable = true;
|
|
|
|
};
|
|
|
|
|
2022-07-14 17:29:29 +02:00
|
|
|
# Disable the broken NetworkManager-wait-online.service
|
|
|
|
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
|
|
|
|
|
2022-05-09 17:04:52 +02:00
|
|
|
programs = {
|
|
|
|
fish.enable = true;
|
|
|
|
mosh.enable = true;
|
|
|
|
ssh.startAgent = true;
|
|
|
|
};
|
2022-05-09 13:35:55 +02:00
|
|
|
}
|