From af7f0660970b88238b2c9e8139159a7508186e99 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 4 Aug 2025 20:23:20 +0300 Subject: [PATCH] fixes --- flake.nix | 6 +++++- modules/darwin/dock.nix | 5 ++--- modules/darwin/paperwm.nix | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 38175bc..c57bc9c 100644 --- a/flake.nix +++ b/flake.nix @@ -89,7 +89,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - fenix.url = "github:nix-community/fenix"; + fenix = { + url = "github:nix-community/fenix"; + + inputs.nixpkgs.follows = "nixpkgs"; + }; nix.url = "github:DeterminateSystems/nix-src"; nil.url = "github:oxalica/nil"; diff --git a/modules/darwin/dock.nix b/modules/darwin/dock.nix index 40806a9..4acdc08 100644 --- a/modules/darwin/dock.nix +++ b/modules/darwin/dock.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{ system.defaults.dock = { autohide = true; showhidden = true; # Translucent. @@ -14,8 +14,7 @@ enable-spring-load-actions-on-all-items = true; persistent-apps = [ - { app = "${config.home-manager.users.${config.system.primaryUser} - .programs.zen-browser.package}/Applications/Zen Browser (Beta).app"; } + { app = "/Applications/Zen.app"; } { app = "/Applications/Ghostty.app"; } ]; }; diff --git a/modules/darwin/paperwm.nix b/modules/darwin/paperwm.nix index 9149b61..b83e2d6 100644 --- a/modules/darwin/paperwm.nix +++ b/modules/darwin/paperwm.nix @@ -225,7 +225,7 @@ in { hs.hotkey.bind(super, "f", PaperWM.actions.toggle_floating) -- APPLICATIONS - hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Zen Browser (Beta)") end) + hs.hotkey.bind(super, "w", function() hs.application.launchOrFocus("Zen") end) hs.hotkey.bind(super, "return", function() hs.application.launchOrFocus("Ghostty") end) hs.hotkey.bind(super, "t", function() hs.application.launchOrFocus("Finder") end)