play around with nix settings

This commit is contained in:
steveej 2023-12-18 16:35:32 +01:00
parent fd6077c476
commit 08dd2dca50
2 changed files with 11 additions and 6 deletions

View file

@ -68,6 +68,14 @@ pkgs.stdenv.mkDerivation {
hedgedoc-cli hedgedoc-cli
xwayland xwayland
(pkgs.writeShellScriptBin "rflk" ''
exec nix run nixpkgs#$@
'')
(pkgs.writeShellScriptBin "r11" ''
exec env NIXOS_OZONE_WL="" WAYLAND_DISPLAY="" $@
'')
]); ]);
# Set Environment Variables # Set Environment Variables

View file

@ -1,4 +1,6 @@
{ {
nodeFlake,
pkgs, pkgs,
lib, lib,
... ...
@ -26,10 +28,5 @@
"nixos-test" "nixos-test"
]; ];
nix.registry = { nix.registry.nixpkgs.flake = nodeFlake.inputs.nixpkgs;
nixpkgs.to = {
type = "path";
path = pkgs.path;
};
};
} }