Compare commits

...

3 Commits

Author SHA1 Message Date
Andreas Schaafsma
aee5e664c1 solved no signal on TTY by disabling fbdev and modeset kernel params 2024-11-13 01:58:51 +01:00
Andreas Schaafsma
27374f058c add steelseries-udev and hello packages 2024-11-13 01:55:10 +01:00
Andreas Schaafsma
da2b430ead add missing file and callpackage as import 2024-11-13 01:54:31 +01:00
4 changed files with 15 additions and 3 deletions

View File

@ -13,6 +13,7 @@
stdenv, stdenv,
fetchurl, fetchurl,
nixos, nixos,
callPackage,
testers, testers,
versionCheckHook, versionCheckHook,
hello, hello,

8
packages/hello/test.nix Normal file
View File

@ -0,0 +1,8 @@
{ runCommand, hello }:
runCommand "hello-test-run" {
nativeBuildInputs = [ hello ];
} ''
diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
touch $out
''

View File

@ -86,6 +86,8 @@ in
pkgs.gparted pkgs.gparted
pkgs.ntfs3g pkgs.ntfs3g
pkgs.ntfsprogs 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. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
] ]

View File

@ -8,9 +8,10 @@
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
#boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; #boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
#boot.kernelParams = [ boot.kernelParams = [
# "nvidia-drm.fbdev=1" "nvidia-drm.fbdev=0"
#]; "nvidia-drm.modeset=0"
];
boot.blacklistedKernelModules = [ boot.blacklistedKernelModules = [
"i915" "i915"
"amdgpu" "amdgpu"