Compare commits
4 commits
36e06252b4
...
c885cf6839
Author | SHA1 | Date | |
---|---|---|---|
c885cf6839 | |||
b91e97cdab | |||
52a33fbe3b | |||
3d6702ebc1 |
4 changed files with 67 additions and 1 deletions
59
homes/x86_64-linux/kb@Ohybke/chromium.nix
Normal file
59
homes/x86_64-linux/kb@Ohybke/chromium.nix
Normal 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";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./chromium.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
libreoffice-qt6-fresh
|
libreoffice-qt6-fresh
|
||||||
logseq
|
logseq
|
||||||
kdePackages.itinerary
|
kdePackages.itinerary
|
||||||
ungoogled-chromium
|
|
||||||
# Security
|
# Security
|
||||||
gnupg
|
gnupg
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
|
@ -47,6 +47,9 @@
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.bluetooth.powerOnBoot = true;
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
|
|
||||||
|
# Enable ThunderBolt 3
|
||||||
|
services.hardware.bolt.enable = true;
|
||||||
|
|
||||||
# Locale
|
# Locale
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
@ -119,6 +122,9 @@
|
||||||
# Enable Steam
|
# Enable Steam
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
|
# Tailscale
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
# Packages installed in system profile. Search Packages: $ nix search wget
|
# Packages installed in system profile. Search Packages: $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
|
|
|
@ -35,6 +35,7 @@ in {
|
||||||
fsType = "ext4";
|
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".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" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/5F66-17ED";
|
device = "/dev/disk/by-uuid/5F66-17ED";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
|
|
Loading…
Add table
Reference in a new issue