add gpg and extra

This commit is contained in:
kp2pml30 2025-03-26 18:00:13 +04:00
parent 0380635ae7
commit 1d0f0288a8
Signed by: kp2pml30
GPG key ID: CD6528BAC23E3E34
5 changed files with 23 additions and 1 deletions

View file

@ -8,3 +8,5 @@ if status is-interactive
zoxide init fish | source
end
end
export GPG_TTY=(tty)

View file

@ -17,5 +17,6 @@ in lib.mkIf cfg.hardware.audio {
environment.systemPackages = with pkgs; [
alsa-utils
acpid
pulseaudio
];
}

View file

@ -41,6 +41,12 @@
programs.nix-ld.enable = true;
home-manager.users.${config.kp2pml30.username}.programs.git.extraConfig = {
user.signingkey = "0xCD6528BAC23E3E34!";
commit.gpgsign = true;
tag.gpgSign = true;
};
hardware = {
graphics = {
enable = true;

View file

@ -40,6 +40,15 @@ in {
HandleLidSwitch=hibernate
'';
services.pcscd = {
enable = true;
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
i18n.supportedLocales = [
"C.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"

View file

@ -9,7 +9,11 @@ let
in {
users.users.${cfg.username} = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
extraGroups = [
"wheel" # sudo
"networkmanager"
"dialout" "uucp" # esp32
];
shell = pkgs.fish;
hashedPassword = "$6$UK6oHr2gPRYD4Rak$lgF.mYReC0jahNuI4kt0j/CsrajVzMprvp3HgjKwwsjYHU6/Ur9jfROXZbKhhpyCLRmnlCpWeRCbHEYO/jhIv/";
};