Added gpg
This commit is contained in:
parent
c98975cadc
commit
9238c3571c
2 changed files with 19 additions and 2 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-email/wekuz%40duck.com";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
@ -27,7 +32,7 @@
|
||||||
sops-nix,
|
sops-nix,
|
||||||
disko,
|
disko,
|
||||||
...
|
...
|
||||||
}:
|
}@inputs:
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
plexy = nixpkgs.lib.nixosSystem {
|
plexy = nixpkgs.lib.nixosSystem {
|
||||||
|
|
@ -38,6 +43,7 @@
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
home-manager.users.wekuz = import ./hosts/plexy/home.nix;
|
home-manager.users.wekuz = import ./hosts/plexy/home.nix;
|
||||||
}
|
}
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.username = "wekuz";
|
home.username = "wekuz";
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
# Utilities
|
# Utilities
|
||||||
neovim
|
neovim
|
||||||
tmux
|
tmux
|
||||||
|
gnupg
|
||||||
zip
|
zip
|
||||||
xz
|
xz
|
||||||
unzip
|
unzip
|
||||||
|
|
@ -34,6 +35,16 @@
|
||||||
ethtool
|
ethtool
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.gpg = {
|
||||||
|
enable = true;
|
||||||
|
publicKeys = [
|
||||||
|
{
|
||||||
|
source = "${inputs.gpgKey}";
|
||||||
|
trust = 5;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue