initial support for gpg
Some checks failed
Hydra packages.riscv64-linux.art-lotte Hydra build #25287 of nixos-config:pr618:packages.riscv64-linux.art-lotte
Hydra packages.aarch64-linux.art-lotte Hydra build #25283 of nixos-config:pr618:packages.aarch64-linux.art-lotte
Hydra packages.x86_64-linux.art-lotte-bgs-sfw Hydra build #25293 of nixos-config:pr618:packages.x86_64-linux.art-lotte-bgs-sfw
Hydra packages.riscv64-linux.package-updater Hydra build #25290 of nixos-config:pr618:packages.riscv64-linux.package-updater
Hydra checks.x86_64-linux.containers-default Hydra build #25274 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra packages.x86_64-linux.art-lotte-bgs-nsfw Hydra build #25292 of nixos-config:pr618:packages.x86_64-linux.art-lotte-bgs-nsfw
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #25277 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #25276 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra packages.riscv64-linux.art-lotte-bgs-sfw Hydra build #25289 of nixos-config:pr618:packages.riscv64-linux.art-lotte-bgs-sfw
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #25275 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra packages.aarch64-linux.art-lotte-bgs-nsfw Hydra build #25284 of nixos-config:pr618:packages.aarch64-linux.art-lotte-bgs-nsfw
Hydra nixosConfigurations.not522 Hydra build #25313 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.thinkrac Hydra build #25317 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.not522-installer Hydra build #25314 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.rainbow-resort Hydra build #25316 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.pc-installer Hydra build #25315 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra packages.aarch64-linux.art-lotte-bgs-sfw Hydra build #25285 of nixos-config:pr618:packages.aarch64-linux.art-lotte-bgs-sfw
Hydra packages.riscv64-linux.art-lotte-bgs-nsfw Hydra build #25288 of nixos-config:pr618:packages.riscv64-linux.art-lotte-bgs-nsfw
Hydra packages.x86_64-linux.art-lotte Hydra build #25291 of nixos-config:pr618:packages.x86_64-linux.art-lotte

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-12 15:15:52 +01:00
parent 4ce118f98e
commit cae62a5442
6 changed files with 37 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ nixos-config, ... }:
{
time.timeZone = "Etc/GMT-1";
isGraphical = true;
@ -6,5 +6,6 @@
./kde
./documentation.nix
./graphical/fonts.nix
"${nixos-config}/services/security-key"
];
}

View file

@ -2,5 +2,6 @@
{
imports = [
./kdeconnect.nix
./gpg
];
}

View file

@ -0,0 +1,10 @@
{ config, ... }:
{
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
mutableKeys = false;
mutableTrust = false;
scdaemonSettings.disable-ccid = true;
};
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./pcscd.nix
./tpm2.nix
];
}

View file

@ -0,0 +1,6 @@
{ ... }:
{
services.pcscd = {
enable = true;
};
}

View file

@ -0,0 +1,11 @@
{ ... }:
{
security.tpm2 = {
enable = true;
abrmd.enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
services.tcsd.enable = true;
systemd.tpm2.enable = true;
}