diff --git a/nix/devShells.nix b/nix/devShells.nix index 4d74ee5..37ac5e4 100644 --- a/nix/devShells.nix +++ b/nix/devShells.nix @@ -68,6 +68,14 @@ pkgs.stdenv.mkDerivation { hedgedoc-cli xwayland + + (pkgs.writeShellScriptBin "rflk" '' + exec nix run nixpkgs#$@ + '') + + (pkgs.writeShellScriptBin "r11" '' + exec env NIXOS_OZONE_WL="" WAYLAND_DISPLAY="" $@ + '') ]); # Set Environment Variables diff --git a/nix/os/snippets/nix-settings.nix b/nix/os/snippets/nix-settings.nix index 7e2fd37..36db65e 100644 --- a/nix/os/snippets/nix-settings.nix +++ b/nix/os/snippets/nix-settings.nix @@ -1,4 +1,6 @@ { + nodeFlake, + pkgs, lib, ... @@ -26,10 +28,5 @@ "nixos-test" ]; - nix.registry = { - nixpkgs.to = { - type = "path"; - path = pkgs.path; - }; - }; + nix.registry.nixpkgs.flake = nodeFlake.inputs.nixpkgs; }