From ca13e9b5ee5c617670372d2406665ce9cf87c5bf Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 7 Aug 2023 15:04:24 +1200 Subject: [PATCH] added galaxy buds client, added tre-command + fish alias --- home/ooks/opt/desktop/standard/wayland/firefox.nix | 2 +- home/ooks/opt/shell/default.nix | 12 +++++++----- home/ooks/opt/shell/fish.nix | 3 +++ home/ooks/opt/shell/starship.nix | 2 +- system/common/opt/bluetooth.nix | 3 +++ 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/home/ooks/opt/desktop/standard/wayland/firefox.nix b/home/ooks/opt/desktop/standard/wayland/firefox.nix index ee03cef..e51ea2b 100644 --- a/home/ooks/opt/desktop/standard/wayland/firefox.nix +++ b/home/ooks/opt/desktop/standard/wayland/firefox.nix @@ -27,7 +27,7 @@ in "browser.startup.homepage" = "https://start.duckduckgo.com"; "browser.uiCustomization.state" = ''{"placements":{"widget-overflow-fixed-list":[],"nav-bar":["back-button","forward-button","stop-reload-button","home-button","urlbar-container","downloads-button","library-button","ublock0_raymondhill_net-browser-action","_testpilot-containers-browser-action"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["import-button","personal-bookmarks"]},"seen":["save-to-pocket-button","developer-button","ublock0_raymondhill_net-browser-action","_testpilot-containers-browser-action"],"dirtyAreaCache":["nav-bar","PersonalToolbar","toolbar-menubar","TabsToolbar","widget-overflow-fixed-list"],"currentVersion":18,"newElementCount":4}''; "dom.security.https_only_mode" = true; - "identity.fxaccounts.enabled" = false; + "identity.fxaccounts.enabled" = true; "privacy.trackingprotection.enabled" = true; "signon.rememberSignons" = false; }; diff --git a/home/ooks/opt/shell/default.nix b/home/ooks/opt/shell/default.nix index 018f3d1..c8e2d32 100644 --- a/home/ooks/opt/shell/default.nix +++ b/home/ooks/opt/shell/default.nix @@ -11,16 +11,18 @@ home.packages = with pkgs; [ bc # Calculator ncdu # disk util - exa # ls - fd # find + exa # Ls + fd # Find ripgrep # Better grep httpie # Better curl diffsitter # Better diff jq # JSON pretty printer and manipulator - lazygit + lazygit # Better git comma # Install and run with "," - btop - tldr + btop # Resource manager + tldr # Community maintained help pages + tmux # Terminal multiplexer + tre-command # Better tree ]; programs = { diff --git a/home/ooks/opt/shell/fish.nix b/home/ooks/opt/shell/fish.nix index 1cbd114..7f94af6 100644 --- a/home/ooks/opt/shell/fish.nix +++ b/home/ooks/opt/shell/fish.nix @@ -6,6 +6,7 @@ let hasExa = hasPackage "exa"; hasNeovim = config.programs.neovim.enable; hasKitty = config.programs.kitty.enable; + hasTre = hasPackage "tre-command"; in { programs.fish = { @@ -28,6 +29,8 @@ in hm = "home-manager --flake ."; hms = "home-manager --flake . switch"; + tree = mkIf hasTre "tre" + ls = mkIf hasExa "exa"; vim = mkIf hasNeovim "nvim"; diff --git a/home/ooks/opt/shell/starship.nix b/home/ooks/opt/shell/starship.nix index 511a917..b612aed 100644 --- a/home/ooks/opt/shell/starship.nix +++ b/home/ooks/opt/shell/starship.nix @@ -9,7 +9,7 @@ cloud = "$aws$gcloud$openstack"; in '' - ($nix_shell)$directory(${git})(- ${cloud}) $fill $time + ($nix_shell)$directory(${git})(- ${cloud}) $jobs$character ''; diff --git a/system/common/opt/bluetooth.nix b/system/common/opt/bluetooth.nix index 038980c..f17f5f6 100644 --- a/system/common/opt/bluetooth.nix +++ b/system/common/opt/bluetooth.nix @@ -3,4 +3,7 @@ { hardware.bluetooth.enable = true; services.blueman.enable = true; + environment.systemPackages = [ + pkgs.galaxy-buds-client + ]; }