separate configs, LTE modem, wireguard, zsh

This commit is contained in:
Sergei Poljanski 2025-12-11 05:55:37 +02:00
commit 8ce905a427
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
11 changed files with 360 additions and 184 deletions

31
modules/programs.nix Normal file
View file

@ -0,0 +1,31 @@
# Programs and services configuration
{ config, pkgs, lib, ... }:
{
# GPG agent
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-curses;
};
# Git configuration
environment.etc."gitconfig".text = ''
[user]
name = Sergei Poljanski
email = me@asxp.io
signingkey = 4F8851660FA4121B
[commit]
gpgsign = true
[init]
defaultBranch = main
[safe]
directory = /etc/nixos
'';
# Enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
}