2022-05-09 13:35:55 +02:00
|
|
|
# Default configuration settings for physical machines that I use.
|
2023-08-29 16:10:11 +02:00
|
|
|
{ lib, pkgs, config, 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
|
|
|
{
|
2023-08-29 16:10:11 +02:00
|
|
|
options = with lib; {
|
|
|
|
tazjin.emacs = mkOption {
|
|
|
|
type = types.package;
|
|
|
|
default = depot.users.tazjin.emacs;
|
|
|
|
description = ''
|
|
|
|
Derivation with my Emacs package, with configuration included.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = {
|
|
|
|
# Install all the default software.
|
|
|
|
environment.systemPackages =
|
|
|
|
# programs from the depot
|
|
|
|
(with depot; [
|
|
|
|
users.tazjin.screenLock
|
2023-09-30 15:44:33 +02:00
|
|
|
users.tazjin.chase-geese
|
2023-08-29 16:10:11 +02:00
|
|
|
config.tazjin.emacs
|
|
|
|
third_party.agenix.cli
|
|
|
|
third_party.josh
|
|
|
|
]) ++
|
2022-05-09 13:35:55 +02:00
|
|
|
|
2023-08-29 16:10:11 +02:00
|
|
|
# programs from nixpkgs
|
|
|
|
(with pkgs; [
|
|
|
|
(aspellWithDicts (d: [ d.ru ]))
|
|
|
|
amber
|
|
|
|
bat
|
|
|
|
curl
|
|
|
|
ddcutil
|
|
|
|
direnv
|
|
|
|
dnsutils
|
|
|
|
electrum
|
2023-11-30 19:21:01 +01:00
|
|
|
firefox
|
2023-08-29 16:10:11 +02:00
|
|
|
config.tazjin.emacs.emacs # emacsclient
|
2023-09-11 10:08:38 +02:00
|
|
|
expect
|
2023-08-29 16:10:11 +02:00
|
|
|
fd
|
|
|
|
file
|
|
|
|
gdb
|
|
|
|
git
|
|
|
|
gnupg
|
|
|
|
gtk3 # for gtk-launch
|
|
|
|
htop
|
|
|
|
hyperfine
|
|
|
|
iftop
|
|
|
|
imagemagick
|
|
|
|
jq
|
|
|
|
lieer
|
|
|
|
maim
|
|
|
|
man-pages
|
|
|
|
moreutils
|
|
|
|
mosh
|
|
|
|
msmtp
|
|
|
|
networkmanagerapplet
|
|
|
|
nix-prefetch-github
|
|
|
|
nmap
|
|
|
|
notmuch
|
|
|
|
openssh
|
|
|
|
openssl
|
|
|
|
pass-otp
|
|
|
|
pavucontrol
|
|
|
|
pinentry
|
|
|
|
pinentry-emacs
|
|
|
|
pulseaudio # for pactl
|
|
|
|
pwgen
|
|
|
|
quasselClient
|
|
|
|
rink
|
|
|
|
ripgrep
|
|
|
|
rustup
|
|
|
|
screen
|
|
|
|
tig
|
|
|
|
tokei
|
|
|
|
tree
|
|
|
|
unzip
|
|
|
|
vlc
|
|
|
|
volumeicon
|
|
|
|
whois
|
|
|
|
xclip
|
|
|
|
xsecurelock
|
|
|
|
zoxide
|
|
|
|
]);
|
2022-05-09 17:04:52 +02:00
|
|
|
|
2023-08-29 16:10:11 +02:00
|
|
|
# Run services & configure programs for all machines.
|
|
|
|
services.fwupd.enable = true;
|
2022-05-09 17:04:52 +02:00
|
|
|
|
2023-08-29 16:10:11 +02:00
|
|
|
# Disable the broken NetworkManager-wait-online.service
|
|
|
|
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
|
2022-07-14 17:29:29 +02:00
|
|
|
|
2023-12-31 00:19:02 +01:00
|
|
|
# Disable the thing that prints annoying warnings when trying to
|
|
|
|
# run manually patchelfed binaries
|
|
|
|
environment.stub-ld.enable = false;
|
|
|
|
|
2023-08-29 16:10:11 +02:00
|
|
|
programs = {
|
|
|
|
fish.enable = true;
|
|
|
|
mosh.enable = true;
|
|
|
|
ssh.startAgent = true;
|
|
|
|
};
|
2022-05-09 17:04:52 +02:00
|
|
|
};
|
2022-05-09 13:35:55 +02:00
|
|
|
}
|