Compare commits

..

4 commits

Author SHA1 Message Date
cae62a5442 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
2024-11-12 15:15:52 +01:00
4ce118f98e onnewmailpost fix 2024-11-12 14:40:54 +01:00
437e9473d7 remove sponsored sites from firefox’s new tab page 2024-11-12 14:32:26 +01:00
915689c482 disable pocket 2024-11-12 14:31:41 +01:00
8 changed files with 42 additions and 2 deletions

View file

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

View file

@ -122,6 +122,10 @@ in
"widget.use-xdg-desktop-portal.mime-handler" = 1; "widget.use-xdg-desktop-portal.mime-handler" = 1;
"widget.use-xdg-desktop-portal.open-uri" = 1; "widget.use-xdg-desktop-portal.open-uri" = 1;
"widget.use-xdg-desktop-portal.settings" = 1; "widget.use-xdg-desktop-portal.settings" = 1;
"extensions.pocket.enabled" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.default.sites" = "";
}; };
userChrome = '' userChrome = ''
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

View file

@ -9,7 +9,7 @@
imapnotify = { imapnotify = {
enable = true; enable = true;
onNotify = "${pkgs.isync}/bin/mbsync test-%s"; onNotify = "${pkgs.isync}/bin/mbsync test-%s";
onNotifyPost.mail = "${pkgs.notmuch}/bin/notmuch new && ${pkgs.libnotify}/bin/notify-send 'New mail arrived'"; onNotifyPost = "${pkgs.notmuch}/bin/notmuch new && ${pkgs.libnotify}/bin/notify-send 'New mail arrived'";
}; };
mbsync = { mbsync = {
enable = true; enable = true;

View file

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./kdeconnect.nix ./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;
}