Compare commits
4 commits
e3a0a9a6f5
...
cae62a5442
Author | SHA1 | Date | |
---|---|---|---|
cae62a5442 | |||
4ce118f98e | |||
437e9473d7 | |||
915689c482 |
8 changed files with 42 additions and 2 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
|
./gpg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
10
services/desktop/gpg/default.nix
Normal file
10
services/desktop/gpg/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
programs.gpg = {
|
||||||
|
enable = true;
|
||||||
|
homedir = "${config.xdg.dataHome}/gnupg";
|
||||||
|
mutableKeys = false;
|
||||||
|
mutableTrust = false;
|
||||||
|
scdaemonSettings.disable-ccid = true;
|
||||||
|
};
|
||||||
|
}
|
7
services/security-key/default.nix
Normal file
7
services/security-key/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./pcscd.nix
|
||||||
|
./tpm2.nix
|
||||||
|
];
|
||||||
|
}
|
6
services/security-key/pcscd.nix
Normal file
6
services/security-key/pcscd.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.pcscd = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
11
services/security-key/tpm2.nix
Normal file
11
services/security-key/tpm2.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue