summary refs log tree commit diff stats
path: root/modules/hm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hm')
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/firefox/default.nix5
-rw-r--r--modules/hm/sils/ghostty.nix15
-rw-r--r--modules/hm/sils/hyprland.nix5
4 files changed, 22 insertions, 4 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 46e0794..1446d02 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -7,6 +7,7 @@
     ./fastfetch.nix
     ./firefox
     ./foot.nix
+    ./ghostty.nix
     ./git.nix
     ./hyfetch.nix
     ./hyprland.nix
diff --git a/modules/hm/sils/firefox/default.nix b/modules/hm/sils/firefox/default.nix
index b877c34..43d21b1 100644
--- a/modules/hm/sils/firefox/default.nix
+++ b/modules/hm/sils/firefox/default.nix
@@ -17,6 +17,7 @@ in {
     enable = lib.mkEnableOption "opinionated firefox configuration";
   };
   config = lib.mkIf cfg.enable {
+    stylix.targets.firefox.profileNames = ["default"];
     programs.firefox = {
       enable = true;
       profiles = {
@@ -38,8 +39,8 @@ in {
           isDefault = true;
           name = "default";
           search = {
-            default = "DuckDuckGo";
-            privateDefault = "DuckDuckGo";
+            default = "ddg";
+            privateDefault = "ddg";
             force = true;
           };
         };
diff --git a/modules/hm/sils/ghostty.nix b/modules/hm/sils/ghostty.nix
new file mode 100644
index 0000000..cd871bc
--- /dev/null
+++ b/modules/hm/sils/ghostty.nix
@@ -0,0 +1,15 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.ghostty;
+in {
+  options.sils.ghostty.enable = lib.mkEnableOption "the ghostty terminal emulator";
+  config = lib.mkIf cfg.enable {
+    programs.ghostty = {
+      enable = true;
+      enableZshIntegration = true;
+    };
+  };
+}
diff --git a/modules/hm/sils/hyprland.nix b/modules/hm/sils/hyprland.nix
index 39f0920..ed51c34 100644
--- a/modules/hm/sils/hyprland.nix
+++ b/modules/hm/sils/hyprland.nix
@@ -118,7 +118,7 @@ in {
 
         # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
         bind = [
-          "$mainMod, T, exec, foot"
+          "$mainMod, T, exec, ghostty"
           "$mainMod, C, killactive, "
           "$mainMod, M, exit, "
           "$mainMod, E, exec, dolphin "
@@ -187,10 +187,11 @@ in {
         #exec-once=swww init &
         exec-once = [
           #"${pkgs.nwg-panel}/bin/nwg-panel"
-          #"nm-applet --indicator"
+          "${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"
           #"${pkgs.waybar}/bin/waybar"
           "${pkgs.mako}/bin/mako"
           "${pkgs.swaybg}/bin/swaybg -i ${self}/files/wallpaper.jpg"
+          "[workspace 1 silent] keepassxc"
         ];
       };
     };