Added gpg
This commit is contained in:
parent
c98975cadc
commit
68d3ba0cc4
2 changed files with 19 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue