diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-23 11:25:46 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-03-23 11:25:46 -0500 |
| commit | 716a1d1f79024dc0629c61bc912a570a4a200a25 (patch) | |
| tree | 1b3dc0528840600074735563a6e5d00744f071d4 /hosts/mercury | |
| parent | 8534fc63c30a25856d75cc5787da93acb823c533 (diff) | |
group mercury cleanup and firefox config updates
Diffstat (limited to 'hosts/mercury')
| -rw-r--r-- | hosts/mercury/battery.nix | 2 | ||||
| -rw-r--r-- | hosts/mercury/config.nix | 5 | ||||
| -rw-r--r-- | hosts/mercury/hjem.nix | 14 | ||||
| -rw-r--r-- | hosts/mercury/nixos.nix | 9 |
4 files changed, 14 insertions, 16 deletions
diff --git a/hosts/mercury/battery.nix b/hosts/mercury/battery.nix index d3f2e90..0aaa3cd 100644 --- a/hosts/mercury/battery.nix +++ b/hosts/mercury/battery.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +{...}: { # auto-cpufreq services.power-profiles-daemon.enable = false; # conflicts with auto-cpufreq services.tlp.enable = false; # conflicts with auto-cpufreq diff --git a/hosts/mercury/config.nix b/hosts/mercury/config.nix index a8b191b..12518f4 100644 --- a/hosts/mercury/config.nix +++ b/hosts/mercury/config.nix @@ -33,7 +33,10 @@ }; programs = { - firefox.enable = true; + firefox = { + enable = true; + extensions.zotero.enable = false; + }; foot.enable = true; research.enable = true; diff --git a/hosts/mercury/hjem.nix b/hosts/mercury/hjem.nix index 1e87ddd..afdf861 100644 --- a/hosts/mercury/hjem.nix +++ b/hosts/mercury/hjem.nix @@ -3,17 +3,14 @@ obsidian anki libreoffice-qt + musescore - kdePackages.kleopatra prismlauncher mpv + bluetuith opencode - musescore - vital - - bluetuith (pkgs.callPackage ../../pkgs/yo {}) captive-browser # https://words.filippo.io/captive-browser @@ -25,6 +22,13 @@ terminal = false; categories = ["Application"]; }) + + (pkgs.writeShellScriptBin "battery.sh" '' + energy_now=$(cat /sys/class/power_supply/BAT0/energy_now) + energy_full=$(cat /sys/class/power_supply/BAT0/energy_full) + percentage=$((energy_now * 100 / energy_full)) + printf "%.0f%%" "$percentage" + '') ]; files.".config/captive-browser.toml".text = '' diff --git a/hosts/mercury/nixos.nix b/hosts/mercury/nixos.nix index 46153ae..3f5c0b0 100644 --- a/hosts/mercury/nixos.nix +++ b/hosts/mercury/nixos.nix @@ -1,6 +1,5 @@ { lib, - pkgs, inputs, config, ... @@ -67,14 +66,6 @@ ProxyJump collin@ganymede ''; - ## UUGGGG I DINT"W ATNT TO DO THIS - programs.nix-ld = { - enable = true; - libraries = with pkgs; [ - libGL - ]; - }; - programs.firefox.policies.ExtensionSettings = { "foxyproxy@eric.h.jung" = { installation_mode = "force_installed"; |
