Skip to content

Commit

Permalink
feat: remove chromium garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Dec 30, 2023
1 parent 3f33cdf commit dec9733
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 132 deletions.
24 changes: 4 additions & 20 deletions flake.lock

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

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
};

schizofox = {
url = "github:schizofox/schizofox";
url = "github:schizofox/schizofox/profilefix";
# url = "path:/home/sioodmy/dev/schizofox";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
Expand Down Expand Up @@ -183,7 +184,6 @@
};

simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";

};
}
# see also:
Expand Down
2 changes: 1 addition & 1 deletion home/cli/tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
${_ grim} -g "$(${_ slurp})" -t ppm - | ${_ tesseract5} - - | ${wl-clipboard}/bin/wl-copy
${_ libnotify} "$(${wl-clipboard}/bin/wl-paste)"
'';
browser = ["chromium.desktop"];
browser = ["schizofox.desktop"];

associations = {
"text/html" = browser;
Expand Down
6 changes: 3 additions & 3 deletions home/impermanence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ in {
"vids"
"other"
]
++ forEach ["syncthing" "Caprine" "chromium" "VencordDesktop" "obs-studio" "Signal"] (
++ forEach ["syncthing" "Caprine" "VencordDesktop" "obs-studio" "Signal"] (
x: ".config/${x}"
)
++ forEach ["tealdeer" "keepassxc" "nix" "chromium" "starship" "nix-index"] (
++ forEach ["tealdeer" "keepassxc" "nix" "starship" "nix-index" "mozilla"] (
x: ".cache/${x}"
)
++ forEach ["direnv" "TelegramDesktop" "PrismLauncher" "keyrings"] (x: ".local/share/${x}")
++ [".ssh" ".keepass"];
++ [".ssh" ".keepass" ".mozilla"];
};
}
68 changes: 0 additions & 68 deletions home/misc/chromium.nix

This file was deleted.

1 change: 0 additions & 1 deletion home/misc/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{...}: {
imports = [
./media.nix
./chromium.nix
./vencord
./schizofox.nix
./rnnoise.nix
Expand Down
2 changes: 1 addition & 1 deletion home/misc/schizofox.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{...}: {
programs.schizofox = {
enable = true;
security.sandbox = false;
theme = {
colors = {
background-darker = "181825";
Expand All @@ -21,6 +22,5 @@
searxUrl = "search.notashelf.dev";
defaultSearchEngine = "Searx";
};

};
}
10 changes: 6 additions & 4 deletions hosts/iapetus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
}: {
networking = {
hostName = "iapetus";
interfaces.eth0.ipv4.addresses = [ {
address = "192.168.21.69";
prefixLength = 24;
} ];
interfaces.eth0.ipv4.addresses = [
{
address = "192.168.21.69";
prefixLength = 24;
}
];
};

nixpkgs.overlays = [
Expand Down
15 changes: 11 additions & 4 deletions system/core/network.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{pkgs, lib, config, ...}:
let
dnscrypt = config.services.dnscrypt-proxy2.enable;
{
pkgs,
lib,
config,
...
}: let
dnscrypt = config.services.dnscrypt-proxy2.enable;
inherit (lib) mkIf;
in {
environment.systemPackages = with pkgs; [speedtest-cli bandwhich];
networking = {
nameservers = if dnscrypt then ["127.0.0.1" "::1"] else [ "1.1.1.1" "1.0.0.1"];
nameservers =
if dnscrypt
then ["127.0.0.1" "::1"]
else ["1.1.1.1" "1.0.0.1"];
dhcpcd.extraConfig = mkIf dnscrypt "nohook resolv.conf";
networkmanager = {
enable = true;
Expand Down
2 changes: 1 addition & 1 deletion system/core/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

environment.variables = {
EDITOR = "hx";
BROWSER = "firefox";
BROWSER = "schizofox";
};
environment.systemPackages = with pkgs; [
git
Expand Down
2 changes: 1 addition & 1 deletion system/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
services.radicale = {
enable = true;
settings = {
server.hosts = [ "0.0.0.0:5232"];
server.hosts = ["0.0.0.0:5232"];
};
};

Expand Down
15 changes: 6 additions & 9 deletions system/server/traggo.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ pkgs, ...}:
let
{pkgs, ...}: let
traggo-server = pkgs.buildGoModule {
pname = "traggo-server";
version = "0.3.0";
Expand All @@ -10,30 +9,28 @@ let
sha256 = "viwC2OpvAEpvDw6Cj9Os9dS7/6UlVR4Jq9ZBHL6ELSg=";
};
vendorHash = "";

};
in
{
in {
environment = {
systemPackages = [ traggo-server];
systemPackages = [traggo-server];
variables = {
TRAGGO_DEFAULT_USER_NAME = "sioodmy";
TRAGGO_DEFAULT_USER_PASS= "sioodmy";
TRAGGO_DEFAULT_USER_PASS = "sioodmy";
};
};

networking.firewall.allowedUDPPorts = [3030];

systemd.services.traggo = {
description = "self-hosted tag-based time tracking";
wantedBy = [ "multi-user.target"];
wantedBy = ["multi-user.target"];
wants = ["network.target"];
after = [
"network-online.target"
"NetworkManager.service"
"systemd-resolved.service"
];
serviceConfig= {
serviceConfig = {
ExecStart = ''${traggo-server}/bin/traggo-server'';
Restart = "always";
};
Expand Down
16 changes: 0 additions & 16 deletions system/wayland/chromium.nix

This file was deleted.

2 changes: 1 addition & 1 deletion system/wayland/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{pkgs, ...}: {
imports = [./fonts.nix ./services.nix ./pipewire.nix ./chromium.nix];
imports = [./fonts.nix ./services.nix ./pipewire.nix];
environment.etc."greetd/environments".text = ''
Hyprland
'';
Expand Down

0 comments on commit dec9733

Please sign in to comment.