forked from aylac.top/nixcfg
this repo has no description

helium!

aylac.top e70f6be1 bc2e458a

verified
Changed files
+83 -112
modules
flake
home
programs
chromium
+40 -19
flake.lock
···
"type": "github"
}
},
+
"aylapkgs": {
+
"inputs": {
+
"nixpkgs": [
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1757109107,
+
"narHash": "sha256-EiwgbwyzQs7ntOV4w+3L39CIVHBur0IGSWSMsPLeYkY=",
+
"owner": "ayla6",
+
"repo": "pkgs",
+
"rev": "3b3adb4d52381b68277bbd2f8afa30b5e3250280",
+
"type": "github"
+
},
+
"original": {
+
"owner": "ayla6",
+
"repo": "pkgs",
+
"type": "github"
+
}
+
},
"copyparty": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
-
"lastModified": 1756936507,
-
"narHash": "sha256-OhXMy1+YuYlK8d394AImAS+EihDsKzdu8o5NEPyOzOg=",
+
"lastModified": 1757108613,
+
"narHash": "sha256-okw03yWTUT9bmcxs0HOC/hJ8Ui1Qk6zmZyA1i0n2ics=",
"owner": "9001",
"repo": "copyparty",
-
"rev": "e6755aa8a1fe85daf81ac5ba462f96c26ff505ba",
+
"rev": "aaeec11f81740b1068ae952ce2e8795e60d5673a",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1756903364,
-
"narHash": "sha256-vZh/YH2D7oDFek10r0TbGn3qJrqGv69sSP+oF8PFDqQ=",
+
"lastModified": 1757075491,
+
"narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=",
"owner": "nix-community",
"repo": "home-manager",
-
"rev": "6159629d05a0e92bb7fb7211e74106ae1d552401",
+
"rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf",
"type": "github"
},
"original": {
···
},
"nixpkgs-unstable": {
"locked": {
-
"lastModified": 1756819007,
-
"narHash": "sha256-12V64nKG/O/guxSYnr5/nq1EfqwJCdD2+cIGmhz3nrE=",
+
"lastModified": 1756911493,
+
"narHash": "sha256-6n/n1GZQ/vi+LhFXMSyoseKdNfc2QQaSBXJdgamrbkE=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "aaff8c16d7fc04991cac6245bee1baa31f72b1e1",
+
"rev": "c6a788f552b7b7af703b1a29802a7233c0067908",
"type": "github"
},
"original": {
···
"nixpkgs": "nixpkgs_4"
},
"locked": {
-
"lastModified": 1756943002,
-
"narHash": "sha256-EjCUp4JcSeTzPCDwwaJZCmAV8dejVYCH+uRaWzJDDnU=",
+
"lastModified": 1757105782,
+
"narHash": "sha256-t6ysDkG1ISWe4XE/M/o8msGguTTPKRpZJugfkLsvMLs=",
"owner": "nix-community",
"repo": "NUR",
-
"rev": "849e949d461b5b1ac83450254f71b47d429e4923",
+
"rev": "3f0eeedfbb93e70a080e84b3689725ebe2051969",
"type": "github"
},
"original": {
···
"inputs": {
"actions-nix": "actions-nix",
"agenix": "agenix",
+
"aylapkgs": "aylapkgs",
"copyparty": "copyparty",
"disko": "disko",
"files": "files",
···
"sqlite-lib-src": "sqlite-lib-src"
},
"locked": {
-
"lastModified": 1756905886,
-
"narHash": "sha256-zaC6EmDpvM7j0LxPA0NBldYlOjmQd7Durtm39/5ePew=",
+
"lastModified": 1757078979,
+
"narHash": "sha256-3ax8YuYp3MIUYIdov8l2cmXIwO/TSGsc1TUv3r1yIAg=",
"ref": "refs/heads/master",
-
"rev": "bcb8dc65dac5c0e6c167642b46da52419044261f",
-
"revCount": 1287,
+
"rev": "02b54de9c4f391f75eb8287e3857ecda30d483a4",
+
"revCount": 1291,
"type": "git",
"url": "https://tangled.sh/@tangled.sh/core"
},
···
},
"locked": {
-
"lastModified": 1756975169,
-
"narHash": "sha256-WGmLn8/KWBCXvQHv0qDtWaXEIsY7IJd0crAkebY1CDE=",
+
"lastModified": 1757033007,
+
"narHash": "sha256-350uP++nULHwpkDITAgPalMkzprp4TBWHQinNVBi+Hk=",
"owner": "tgirlcloud",
"repo": "pkgs",
-
"rev": "e37520861e648c76ee63ffad2d560bd45326bf92",
+
"rev": "5b7f9185cd99fa8f01a56f2cd5ae0e056f00ed8c",
"type": "github"
},
"original": {
+5
flake.nix
···
inputs.nixpkgs.follows = "nixpkgs";
};
+
aylapkgs = {
+
url = "github:ayla6/pkgs";
+
inputs.nixpkgs.follows = "nixpkgs";
+
};
+
nur.url = "github:nix-community/NUR";
tangled-core = {
+1
modules/flake/nixos.nix
···
overlays = [
self.inputs.nur.overlays.default
self.inputs.copyparty.overlays.default
+
self.inputs.aylapkgs.overlays.default
];
config.allowUnfree = true;
};
+37 -93
modules/home/programs/chromium/default.nix
···
inherit
(lib)
concatLists
-
concatMapStrings
enableFeature
;
in {
···
programs.chromium = {
enable = true;
-
package = pkgs.ungoogled-chromium.override {
-
enableWideVine = true;
+
# unfortunately the extensions thing doesn't work here, i should probably make an actual module for helium
+
#extensions = [
+
# {id = "mdjildafknihdffpkfmmpnpoiajfjnjd";} # consent-o-matic
+
# {id = "clngdbkpkpeebahjckkjfobafhncgmne";} # stylus
+
# {id = "jinjaccalgkegednnccohejagnlnfdag";} # violentmonkey
+
# {id = "nngceckbapebfimnlniiiahkandclblb";} # bitwarden
+
#
+
# rec {
+
# id = "oladmjdebphlnjjcnomfhhbfdldiimaf"; # libredirect
+
# version = "3.2.0";
+
#
+
# crxPath = pkgs.fetchurl {
+
# url = "https://github.com/libredirect/browser_extension/releases/download/v${version}/libredirect-${version}.crx";
+
# sha256 = "sha256-Neja0pJ7rMV+riINeMcWxU2SzZ+ZETp6bV1MaYLHz1Y=";
+
# };
+
# }
+
#
+
# rec {
+
# id = "lkbebcjgcmobigpeffafkodonchffocl"; # bypass-paywalls-clean
+
# version = "4.1.8.0";
+
#
+
# crxPath = pkgs.fetchurl {
+
# url = #"https://gitflic.ru/project/magnolia1234/bpc_uploads/blob/raw?file=bypass-paywalls-chrome-clean-${version}.crx";
+
# sha256 = "sha256-BRpwrV8AN1eOG2IXfk24gyEd8OzwK1BJqDdoxlgX8o4=";
+
# };
+
# }
+
#];
+
package = pkgs.helium.override {
# https://github.com/secureblue/hardened-chromium
# https://github.com/secureblue/secureblue/blob/e500f078efc5748d5033a881bbbcdcd2de95a813/files/system/usr/etc/chromium/chromium.conf.md
commandLineArgs = concatLists [
···
"--enable-features=UseOzonePlatform"
]
+
# Performance
+
[
+
(enableFeature true "gpu-rasterization")
+
(enableFeature true "oop-rasterization")
+
(enableFeature true "zero-copy")
+
"--ignore-gpu-blocklist"
+
]
+
# Etc
[
"--disk-cache=$XDG_RUNTIME_DIR/chromium-cache"
···
"--no-first-run"
"--disable-wake-on-wifi"
"--disable-breakpad"
-
-
# please stop asking me to be the default browser
"--no-default-browser-check"
-
-
# I don't need these, thus I disable them
-
(enableFeature false "speech-api")
-
(enableFeature false "speech-synthesis-api")
-
]
-
-
# Security
-
[
-
# Disable pings
-
"--no-pings"
-
# Require HTTPS for component updater
-
"--component-updater=require_encryption"
-
# Disable crash upload
-
"--no-crash-upload"
-
# don't run things without asking
-
"--no-service-autorun"
-
# Disable sync
-
"--disable-sync"
-
-
(
-
"--enable-features="
-
+ concatMapStrings (x: x + ",") [
-
# Enable visited link database partitioning
-
"PartitionVisitedLinkDatabase"
-
# Enable prefetch privacy changes
-
"PrefetchPrivacyChanges"
-
# Enable split cache
-
"SplitCacheByNetworkIsolationKey"
-
"SplitCodeCacheByNetworkIsolationKey"
-
# Enable partitioning connections
-
"EnableCrossSiteFlagNetworkIsolationKey"
-
"HttpCacheKeyingExperimentControlGroup"
-
"PartitionConnectionsByNetworkIsolationKey"
-
# Enable strict origin isolation
-
"StrictOriginIsolation"
-
# Enable reduce accept language header
-
"ReduceAcceptLanguage"
-
# Enable content settings partitioning
-
"ContentSettingsPartitioning"
-
# i like moving pages with my touchpad...
-
"TouchpadOverscrollHistoryNavigation"
-
]
-
)
-
-
(
-
"--disable-features="
-
+ concatMapStrings (x: x + ",") [
-
# Disable autofill
-
"AutofillPaymentCardBenefits"
-
"AutofillPaymentCvcStorage"
-
"AutofillPaymentCardBenefits"
-
# Disable third-party cookie deprecation bypasses
-
"TpcdHeuristicsGrants"
-
"TpcdMetadataGrants"
-
# Disable hyperlink auditing
-
"EnableHyperlinkAuditing"
-
# Disable showing popular sites
-
"NTPPopularSitesBakedInContent"
-
"UsePopularSitesSuggestions"
-
# Disable article suggestions
-
"EnableSnippets"
-
"ArticlesListVisible"
-
"EnableSnippetsByDse"
-
# Disable content feed suggestions
-
"InterestFeedV2"
-
# Disable media DRM preprovisioning
-
"MediaDrmPreprovisioning"
-
# Disable autofill server communication
-
"AutofillServerCommunication"
-
# Disable new privacy sandbox features
-
"PrivacySandboxSettings4"
-
"BrowsingTopics"
-
"BrowsingTopicsDocumentAPI"
-
"BrowsingTopicsParameters"
-
# Disable translate button
-
"AdaptiveButtonInTopToolbarTranslate"
-
# Disable detailed language settings
-
"DetailedLanguageSettings"
-
# Disable fetching optimization guides
-
"OptimizationHintsFetching"
-
# Partition third-party storage
-
"DisableThirdPartyStoragePartitioningDeprecationTrial2"
-
-
# Disable media engagement
-
"PreloadMediaEngagementData"
-
"MediaEngagementBypassAutoplayPolicies"
-
]
-
)
+
"--enable-features=TouchpadOverscrollHistoryNavigation"
]
];
};