Compare commits

..

No commits in common. "0b77381bb0737f20375c7dd771b45a0ae0fcdf6a" and "26521600a10f055282dfc8f4694b75218092a87e" have entirely different histories.

4 changed files with 38 additions and 62 deletions

View file

@ -8,13 +8,9 @@
sisyphus = { sisyphus = {
desktop.sway.enable = true; desktop.sway.enable = true;
hardware = { hardware.nvidia = {
eid.enable = true; enable = true;
nvidia = { model = "Quadro T2000";
enable = true;
model = "Quadro T2000";
};
yubikey.enable = true;
}; };
networking = { networking = {
@ -35,6 +31,7 @@
}; };
services = { services = {
monero.enable = true;
pipewire.enable = true; pipewire.enable = true;
tailscale.enable = true; tailscale.enable = true;
}; };
@ -42,7 +39,7 @@
users.tdpeuter.enable = true; users.tdpeuter.enable = true;
virtualisation = { virtualisation = {
docker.enable = true; qemu.enable = true;
virtualbox.enable = true; virtualbox.enable = true;
}; };
}; };

View file

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

View file

@ -1,18 +0,0 @@
{ config, lib, pkgs-unstable, ... }:
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-unstable.ccid ];
};
environment.systemPackages = with pkgs-unstable; [
eid-mw
];
};
}

View file

@ -18,44 +18,42 @@ in {
DisableFirefoxStudies = true; DisableFirefoxStudies = true;
DisablePocket = true; DisablePocket = true;
DisableTelemetry = true; DisableTelemetry = true;
ExtensionSettings = {};
OfferToSaveLogins = false; OfferToSaveLogins = false;
}; };
# Support smart cards
pkcs11Modules = with pkgs-unstable; [
eid-mw
];
}; };
profiles.tdpeuter = {
search = {
default = "DuckDuckGo";
force = true;
engines = {
"Bing".metaData.hidden = true;
"eBay".metaData.hidden = true;
profiles.tdpeuter.search = { "Nix Packages" = {
default = "DuckDuckGo"; urls = [{
force = true; template = "https://search.nixos.org/packages";
engines = { params = [
"Bing".metaData.hidden = true; { name = "type"; value = "packages"; }
"eBay".metaData.hidden = true; { name = "query"; value = "{searchTerms}"; }
];
}];
"Nix Packages" = { icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
urls = [{ definedAliases = [ "@np" ];
template = "https://search.nixos.org/packages"; };
params = [ "GitHub" = {
{ name = "type"; value = "packages"; } urls = [{
{ name = "query"; value = "{searchTerms}"; } template = "https://github.com/search";
]; params = [
}]; { name = "q"; value = "{searchTerms}"; }
{ name = "type"; value = "repositories"; }
];
}];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; icon = "${pkgs.icosystem}/share/icons/icosystem/scalable/apps/github-mark.svg";
definedAliases = [ "@np" ]; definedAliases = [ "@gh" ];
}; };
"GitHub" = {
urls = [{
template = "https://github.com/search";
params = [
{ name = "q"; value = "{searchTerms}"; }
{ name = "type"; value = "repositories"; }
];
}];
icon = "${pkgs.icosystem}/share/icons/icosystem/scalable/apps/github-mark.svg";
definedAliases = [ "@gh" ];
}; };
}; };
}; };