From 0631f155d2a6b68954876ce4fa7645be1b47e245 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 24 Oct 2024 09:57:44 +0200 Subject: [PATCH] update and drawio unfree? --- flake.lock | 18 +++++++++--------- modules/wm/home/misc/default.nix | 5 +++++ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index bfac1e5..c508bb2 100644 --- a/flake.lock +++ b/flake.lock @@ -96,11 +96,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1729569843, - "narHash": "sha256-X5/JnOhxbAVUvV381rKRlavBsR+00qXCKKNxKGinusg=", + "lastModified": 1729753754, + "narHash": "sha256-eOr9ZXL68i27i2Xd+UHM95OBUFCEClEvqMbEACsIFMg=", "owner": "rycee", "repo": "nur-expressions", - "rev": "e6c806ba40743f91b933091caebda79644be1ba0", + "rev": "88c24cff42f478f2d32685d4e2a7be246214294d", "type": "gitlab" }, "original": { @@ -202,11 +202,11 @@ ] }, "locked": { - "lastModified": 1729551526, - "narHash": "sha256-7LAGY32Xl14OVQp3y6M43/0AtHYYvV6pdyBcp3eoz0s=", + "lastModified": 1729716953, + "narHash": "sha256-FbRKGRRd0amsk/WS/UV9ukJ8jT1dZ2pJBISxkX+uq6A=", "owner": "nix-community", "repo": "home-manager", - "rev": "5ec753a1fc4454df9285d8b3ec0809234defb975", + "rev": "a4353cc43d1b4dd6bdeacea90eb92a8b7b78a9d7", "type": "github" }, "original": { @@ -311,11 +311,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1729413321, - "narHash": "sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0=", + "lastModified": 1729665710, + "narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1997e4aa514312c1af7e2bda7fad1644e778ff26", + "rev": "2768c7d042a37de65bb1b5b3268fc987e534c49d", "type": "github" }, "original": { diff --git a/modules/wm/home/misc/default.nix b/modules/wm/home/misc/default.nix index 328d23e..07fbad1 100644 --- a/modules/wm/home/misc/default.nix +++ b/modules/wm/home/misc/default.nix @@ -1,6 +1,7 @@ { pkgs, config, + lib, ... }: { home.packages = with pkgs; [ @@ -29,4 +30,8 @@ ]; gtk.gtk2.configLocation = "${config.home.homeDirectory}/.config/gtk-2.0/gtkrc"; xresources.path = ".config/.Xresources"; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "drawio" + ]; }