Compare commits

...

2 commits

Author SHA1 Message Date
2a4e5b5a96
[eid] Add module 2024-04-29 15:05:07 +02:00
8f021010c3
[firefox] Remove Qwant from search 2024-04-29 15:03:28 +02:00
4 changed files with 57 additions and 33 deletions

View file

@ -9,6 +9,7 @@
desktop.sway.enable = true;
hardware = {
eid.enable = true;
nvidia = {
enable = true;
model = "Quadro T2000";

View file

@ -1,5 +1,6 @@
{
imports = [
./eid
./nvidia
./yubikey
];

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.hardware.eid;
in {
options.sisyphus.hardware.eid.enable = lib.mkEnableOption "Electronic identity card (eID)";
config = lib.mkIf cfg.enable {
services.pcscd = {
enable = true;
plugins = [ pkgs.ccid ];
};
environment.systemPackages = with pkgs; [
eid-mw
];
};
}

View file

@ -18,17 +18,22 @@ in {
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
ExtensionSettings = {};
OfferToSaveLogins = false;
};
# Support smart cards
pkcs11Modules = with pkgs-unstable; [
eid-mw
];
};
profiles.tdpeuter = {
search = {
profiles.tdpeuter.search= {
default = "DuckDuckGo";
force = true;
engines = {
"Bing".metaData.hidden = true;
"eBay".metaData.hidden = true;
"Qwant".metaData.hidden = true;
"Nix Packages" = {
urls = [{
@ -58,5 +63,4 @@ in {
};
};
};
};
}