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
xwayland
(pkgs.writeShellScriptBin "rflk" ''
exec nix run nixpkgs#$@
'')
(pkgs.writeShellScriptBin "r11" ''
exec env NIXOS_OZONE_WL="" WAYLAND_DISPLAY="" $@
'')
]);
# Set Environment Variables

View file

@ -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;
}