Added gpg

This commit is contained in:
Wekuz 2026-01-10 15:23:04 +02:00
parent c98975cadc
commit 3abe681f85
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9
2 changed files with 19 additions and 2 deletions

View file

@ -18,6 +18,11 @@
url = "github:nix-community/disko/latest";
inputs.nixpkgs.follows = "nixpkgs";
};
gpgKey = {
url = "https://keys.openpgp.org/vks/v1/by-email/wekuz%40duck.com";
flake = false;
};
};
outputs =
@ -27,7 +32,7 @@
sops-nix,
disko,
...
}:
}@inputs:
{
nixosConfigurations = {
plexy = nixpkgs.lib.nixosSystem {
@ -38,6 +43,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.wekuz = import ./hosts/plexy/home.nix;
}
sops-nix.nixosModules.sops

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
home.username = "wekuz";
@ -10,6 +10,7 @@
# Utilities
neovim
tmux
gpg
zip
xz
unzip
@ -34,6 +35,16 @@
ethtool
];
programs.gpg = {
enable = true;
publicKeys.wekuz = [
{
source = "${inputs.gpgKey}";
trust = 5;
}
];
};
programs.git = {
enable = true;
settings = {