Compare commits
3 Commits
830f8d51b3
...
aee5e664c1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aee5e664c1 | ||
|
|
27374f058c | ||
|
|
da2b430ead |
@ -13,6 +13,7 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
nixos,
|
||||
callPackage,
|
||||
testers,
|
||||
versionCheckHook,
|
||||
hello,
|
||||
|
||||
8
packages/hello/test.nix
Normal file
8
packages/hello/test.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ runCommand, hello }:
|
||||
|
||||
runCommand "hello-test-run" {
|
||||
nativeBuildInputs = [ hello ];
|
||||
} ''
|
||||
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
|
||||
touch $out
|
||||
''
|
||||
@ -86,6 +86,8 @@ in
|
||||
pkgs.gparted
|
||||
pkgs.ntfs3g
|
||||
pkgs.ntfsprogs
|
||||
pkgs.my-namespace.udev-steelseries
|
||||
pkgs.my-namespace.hello
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
]
|
||||
|
||||
@ -8,9 +8,10 @@
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
#boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
|
||||
#boot.kernelParams = [
|
||||
# "nvidia-drm.fbdev=1"
|
||||
#];
|
||||
boot.kernelParams = [
|
||||
"nvidia-drm.fbdev=0"
|
||||
"nvidia-drm.modeset=0"
|
||||
];
|
||||
boot.blacklistedKernelModules = [
|
||||
"i915"
|
||||
"amdgpu"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user