Added gpg
This commit is contained in:
parent
c98975cadc
commit
cc5475745b
2 changed files with 17 additions and 1 deletions
|
|
@ -18,6 +18,11 @@
|
||||||
url = "github:nix-community/disko/latest";
|
url = "github:nix-community/disko/latest";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gpgKey = {
|
||||||
|
url = "https://keys.openpgp.org/vks/v1/by-fingerprint/0CCE1200AB5E7B059A22B0D82E502F2AABD32DF9";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.username = "wekuz";
|
home.username = "wekuz";
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
# Utilities
|
# Utilities
|
||||||
neovim
|
neovim
|
||||||
tmux
|
tmux
|
||||||
|
gpg
|
||||||
zip
|
zip
|
||||||
xz
|
xz
|
||||||
unzip
|
unzip
|
||||||
|
|
@ -34,6 +35,16 @@
|
||||||
ethtool
|
ethtool
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.gpg = {
|
||||||
|
enable = true;
|
||||||
|
publicKeys.wekuz = [
|
||||||
|
{
|
||||||
|
source = "${inputs.gpgKey}";
|
||||||
|
trust = 5;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue