Skip to content

Commit

Permalink
feat: thorium browser
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Dec 14, 2023
1 parent c8fb073 commit 155492d
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 12 deletions.
22 changes: 22 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
url = "github:hyprwm/hyprpicker";
inputs.nixpkgs.follows = "nixpkgs";
};
thorium = {
url = "github:almahdi/nix-thorium/16cbc264b5e7baf09cb895e8c5a49f7d915399d8";
inputs.nixpkgs.follows = "nixpkgs";
};

# project shells
devshell = {
Expand Down
2 changes: 0 additions & 2 deletions home/cli/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@

home.packages = with pkgs; [
# some other lsp related packages / dev tools
typst
typst-lsp
shellcheck
lldb
gopls
Expand Down
5 changes: 5 additions & 0 deletions home/cli/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@

# syncthnig for acoustic people
rsync

# script kidde stuff
hcxdumptool hashcat
# tshark
# termshark
];
}
12 changes: 6 additions & 6 deletions home/misc/schizofox.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{pkgs, ...}: {
programs.schizofox = {
enable = true;
enable = false;
package = pkgs.firefox-esr-115-unwrapped;
security = {
sanitizeOnShutdown = false;
Expand All @@ -26,11 +26,11 @@
darkreader.enable = true;
};
search = {
searx-randomizer = {
enable = true;
instances = ["searx.be" "search.notashelf.dev" "searx.tiekoetter.com" "opnxng.com"];
};
defaultSearchEngine = "Searx";
# searxRandomizer = {
# enable = true;
# instances = ["searx.be" "search.notashelf.dev" "searx.tiekoetter.com" "opnxng.com"];
# };
defaultSearchEngine = "Google";
removeEngines = ["Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
};
extensions.extraExtensions = {
Expand Down
4 changes: 3 additions & 1 deletion home/packages.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs, inputs, ...}: {
nixpkgs.config.allowUnfree = false;
home.packages = with pkgs; [
(symlinkJoin {
Expand All @@ -7,6 +7,7 @@
buildInputs = [makeWrapper];
postBuild = "wrapProgram $out/bin/ledger-live-desktop --add-flags --use-gl=desktop";
})
inputs.thorium.packages.${pkgs.system}.default
logseq
ledger_agent
caprine-bin
Expand All @@ -17,6 +18,7 @@
prismlauncher
tdesktop
gimp
wireshark
inkscape
keepassxc
dconf
Expand Down
2 changes: 2 additions & 0 deletions home/rice/hyprland/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ in {

"$MODSHIFT,S,exec,grimblast --notify --cursor copysave area" # screenshot and then pipe it to swappy
"$MOD,Print,exec, grimblast save area - | tee /home/sioodmy/pics/ss/$(date +'screenshot-%Y%m%d%H%M%S.png') | wl-copy && notify-send 'Screenshot taken'"
",Print,exec, grim - | wl-copy"

"$MODSHIFT,L,exec,gtklock" # lock screen
];
Expand Down Expand Up @@ -271,6 +272,7 @@ in {
};
extraConfig = ''
monitor=DP-1,1920x1080@144,0x0,1shad
monitor=HDMI-1,1920x1080@144,0x0,1shad
# a submap for resizing windows
bind = $MOD, S, submap, resize # enter resize window to resize the active window
Expand Down
3 changes: 1 addition & 2 deletions system/core/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
environment.systemPackages = with pkgs; [speedtest-cli bandwhich];
networking = {
# dns
nameservers = ["127.0.0.1" "::1"];
nameservers = ["1.1.1.1" "1.0.0.1"];
dhcpcd.extraConfig = "nohook resolv.conf";
networkmanager = {
enable = true;
dns = "none";
unmanaged = ["docker0" "rndis0"];
wifi = {
macAddress = "random";
Expand Down
3 changes: 2 additions & 1 deletion system/core/schizo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
allowAnyUser = true;
};
dnscrypt-proxy2 = {
enable = true;
enable = false;
settings = {
ipv6_servers = true;
require_dnssec = true;
Expand All @@ -29,6 +29,7 @@
};
};
programs.ssh.startAgent = true;
programs.wireshark.enable = true;
programs.firejail = let
profiles = "${pkgs.firejail}/etc/firejail";
inherit (lib) getBin;
Expand Down

0 comments on commit 155492d

Please sign in to comment.