mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
Compare commits
No commits in common. "a3d33c1a98f86c81f373f95c477769152e5ff384" and "b0143c11418dd4a9b3ea1ce7d9c09947f9841ec2" have entirely different histories.
a3d33c1a98
...
b0143c1141
4 changed files with 7 additions and 32 deletions
|
@ -5,6 +5,6 @@ indent_style = tab
|
|||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.py]
|
||||
[*.{py,sh}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
let
|
||||
|
||||
brave = (final: prev: {
|
||||
brave =
|
||||
let
|
||||
# updates to the newer version before it hits the channels
|
||||
version = "1";
|
||||
hash = "";
|
||||
in
|
||||
if
|
||||
prev.lib.versionAtLeast prev.brave.version version
|
||||
then
|
||||
prev.brave
|
||||
else
|
||||
prev.brave.overrideAttrs {
|
||||
src = prev.fetchurl {
|
||||
inherit hash;
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
brave
|
||||
];
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.sconfig.desktop.enable) {
|
||||
environment.systemPackages = [
|
||||
pkgs.brave
|
||||
nixpkgs.config.chromium.commandLineArgs = toString [
|
||||
"--enable-features=WebUIDarkMode"
|
||||
"--force-dark-mode"
|
||||
];
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
|
@ -19,6 +20,7 @@
|
|||
ExtensionInstallForcelist = [
|
||||
"dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium
|
||||
"fihnjjcciajhdojfnbdddfaoknhalnja" # I don't care about cookies
|
||||
"jeoacafpbcihiomhlakheieifhpjdfeo" # Disconnect
|
||||
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
|
||||
];
|
||||
NetworkPredictionOptions = 2;
|
||||
|
|
|
@ -52,6 +52,7 @@ with lib;
|
|||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
chromium
|
||||
discord
|
||||
easyeffects
|
||||
element-desktop
|
||||
|
|
Loading…
Reference in a new issue