Compare commits

...

4 commits

Author SHA1 Message Date
c885cf6839
Enabled FIDO LUKS Unlocking
Some checks failed
/ Check Nix Flake (push) Failing after 2m20s
2025-07-05 20:29:10 +02:00
b91e97cdab
Enabled Thunderbolt and Tailscale 2025-07-05 20:28:21 +02:00
52a33fbe3b
Added Chromium Configuration 2025-07-05 20:25:49 +02:00
3d6702ebc1
Added Chromium Configuration 2025-07-05 20:25:31 +02:00
4 changed files with 67 additions and 1 deletions

View file

@ -0,0 +1,59 @@
{ config, pkgs, lib, inputs, ... }:
{
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
commandLineArgs = [
"--extension-mime-request-handling=always-prompt-for-install" # Enable Extension-Install Dialogue
"--enable-features=ClearDataOnExit,NoReferrers,SpoofWebGLInfo" # Feature Flags
"--no-default-browser-check"
];
extensions = let
createChromiumExtensionFor = browserVersion: { id, sha256, version }: {
inherit id;
crxPath = builtins.fetchurl {
url = "https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion=${browserVersion}&x=id%3D${id}%26installsource%3Dondemand%26uc";
name = "${id}.crx";
inherit sha256;
};
inherit version;
};
createChromiumExtension = createChromiumExtensionFor (lib.versions.major pkgs.ungoogled-chromium.version);
in [
{ # Chromium Web Store
id = "ocaahdebbfolfmndjeplogmgcagdmblk";
crxPath = builtins.fetchurl {
url = "https://github.com/NeverDecaf/chromium-web-store/releases/download/v1.5.4.3/Chromium.Web.Store.crx";
name = "ocaahdebbfolfmndjeplogmgcagdmblk.crx";
sha256 = "sha256:0ck5k4gs5cbwq1wd5i1aka5hwzlnyc4c513sv13vk9s0dlhbz4z5";
};
version = "1.5.4.3";
}
(createChromiumExtension { # uBlock Origin
id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";
sha256 = "sha256:0pdh1v0vx1d5vnl1zh7nbk6j1fh4k4hhwp1ljs203icn306lahsn";
version = "1.64.0";
})
(createChromiumExtension { # I still don't care about cookies
id = "edibdbjcniadpccecjdfdjjppcpchdlm";
sha256 = "sha256:11k7cxcjafs8ziaxl4bilbfwbgl2yf1p6v1bvwszadcr14xyvgsj";
version = "1.1.4";
})
(createChromiumExtension { # KeePassXC-Browser
id = "oboonakemofpalcgghocfoadofidjkkk";
sha256 = "sha256:0zlmwiyzn4cznzrvavp2nsj07v4lrdyi7nw5aarqnj7nj12gixh7";
version = "1.9.8";
})
(createChromiumExtension { # LanguageTool
id = "oldceeleldhonbafppcapldpdifcinji";
sha256 = "sha256:184iavn085z11c0zh7f5m4yzw35kc2w3qx634ffnlqixgsnqmdc2";
version = "8.20.0";
})
(createChromiumExtension { # dark reader
id = "eimadpbcbfnmbkopoojfekhnkhdbieeh";
sha256 = "sha256:1lc5ny57rdpqzx07gwj44pl3m9mg9nq6p5kjchrmjjh4hkk5wsny";
version = "4.9.106";
})
];
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
./firefox.nix
./chromium.nix
./ssh.nix
];
@ -16,7 +17,6 @@
libreoffice-qt6-fresh
logseq
kdePackages.itinerary
ungoogled-chromium
# Security
gnupg
keepassxc

View file

@ -47,6 +47,9 @@
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
# Enable ThunderBolt 3
services.hardware.bolt.enable = true;
# Locale
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
@ -119,6 +122,9 @@
# Enable Steam
programs.steam.enable = true;
# Tailscale
services.tailscale.enable = true;
# Packages installed in system profile. Search Packages: $ nix search wget
environment.systemPackages = with pkgs; [
vim

View file

@ -35,6 +35,7 @@ in {
fsType = "ext4";
};
boot.initrd.luks.devices."luks-a226aaf4-1250-447b-a5fc-fa37758d332a".device = "/dev/disk/by-uuid/a226aaf4-1250-447b-a5fc-fa37758d332a";
boot.initrd.luks.devices."luks-a226aaf4-1250-447b-a5fc-fa37758d332a".crypttabExtraOpts = ["fido2-device=auto"];
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/5F66-17ED";
fsType = "vfat";