about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-28 18:32:52 +0100
committerSoispha <soispha@vhack.eu>2023-12-28 18:32:52 +0100
commit49ddb573c44d4d54110c2ee3b5c01696bb96beb0 (patch)
tree40eede5b6bd265cbfc54c33adb7057d613c0226f
parentfix(hm/pkgs/scr/neorg): Escape single quotes in completion function (diff)
downloadnixos-config-49ddb573c44d4d54110c2ee3b5c01696bb96beb0.tar.gz
nixos-config-49ddb573c44d4d54110c2ee3b5c01696bb96beb0.zip
fix(sys/svcs/xdg/termfilechooser): Remove as river does not support it
To be precise the xdg-foreign protocol is not supported by river.
-rw-r--r--flake.lock24
-rw-r--r--flake.nix4
-rw-r--r--sys/svcs/xdg/default.nix30
3 files changed, 29 insertions, 29 deletions
diff --git a/flake.lock b/flake.lock
index aedf64e2..074b189a 100644
--- a/flake.lock
+++ b/flake.lock
@@ -303,11 +303,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1703754036,
-        "narHash": "sha256-JpJdcj9Tg4lMuYikXDpajA8wOp+rHyn9RD2rKBEM4cQ=",
+        "lastModified": 1703768629,
+        "narHash": "sha256-15X1KXQD4pJd8AZSH97tKsLJi/Q9fV1AwPNrNtymFco=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "c24c298562fe41b39909f632c5a7151bbf6b4628",
+        "rev": "6e2afa5c3b8bb17bdc7c1a5be896aed177449f59",
         "type": "github"
       },
       "original": {
@@ -432,11 +432,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1703760766,
-        "narHash": "sha256-jv6B2+AwfZbYJWkJIY3UMyqnF+TspyUC81vQNcK/nxE=",
+        "lastModified": 1703783165,
+        "narHash": "sha256-naCr5j1kQ4vRWqqDw4E6ma8kTJ5uTNupJwB5EqvXUvg=",
         "owner": "nix-community",
         "repo": "nixvim",
-        "rev": "a7144cfbf7e54e99888fa979950e8059efba03cf",
+        "rev": "61013ca4ab78f4c0f363e9d36c7f79ceaa5ade61",
         "type": "github"
       },
       "original": {
@@ -483,16 +483,16 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1703760252,
-        "narHash": "sha256-awPXiC2l9IJptf+tVpyo60yYT1kRlgohfeqzH+eiRSU=",
-        "owner": "soispha",
+        "lastModified": 1703438236,
+        "narHash": "sha256-aqVBq1u09yFhL7bj1/xyUeJjzr92fXVvQSSEx6AdB1M=",
+        "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "140380a5aa34f88b1b64332fc1c670e5f798c4de",
+        "rev": "5f64a12a728902226210bf01d25ec6cbb9d9265b",
         "type": "github"
       },
       "original": {
-        "owner": "soispha",
-        "ref": "termfilechooser",
+        "owner": "NixOS",
+        "ref": "nixos-unstable",
         "repo": "nixpkgs",
         "type": "github"
       }
diff --git a/flake.nix b/flake.nix
index 13374b8c..5181f78e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,8 +3,8 @@
 
   inputs = {
     # base
-    # nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
-    nixpkgs.url = "github:soispha/nixpkgs/termfilechooser";
+    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+    # nixpkgs.url = "github:soispha/nixpkgs/termfilechooser";
     nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05";
 
     # inputs for following
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix
index 95afaf51..57d915b3 100644
--- a/sys/svcs/xdg/default.nix
+++ b/sys/svcs/xdg/default.nix
@@ -7,20 +7,20 @@
   xdg = {
     portal = {
       enable = true;
-      termfilechooser = {
-        enable = true;
-        settings = {
-          filechooser = {
-            cmd = "${sysLib.writeShellScriptWithLibraryAndKeepPath {
-              name = "lf_wrapper";
-              src = ./scripts/lf_wrapper;
-              dependencies = with pkgs; [
-                lf
-              ];
-            }}";
-          };
-        };
-      };
+      # termfilechooser = {
+      #   enable = false;
+      #   settings = {
+      #     filechooser = {
+      #       cmd = "${sysLib.writeShellScriptWithLibraryAndKeepPath {
+      #         name = "lf_wrapper";
+      #         src = ./scripts/lf_wrapper;
+      #         dependencies = with pkgs; [
+      #           lf
+      #         ];
+      #       }}";
+      #     };
+      # };
+      # };
       config = {
         common = {
           # NOTE: The next entry is supposedly needed for gtk based apps <2023-08-31>
@@ -35,7 +35,7 @@
       extraPortals = with pkgs; [
         xdg-desktop-portal-gtk
         xdg-desktop-portal-wlr
-        xdg-desktop-portal-termfilechooser
+        # xdg-desktop-portal-termfilechooser
       ];
     };
   };