diff options
1 files changed, 22 insertions, 19 deletions
| -rw-r--r-- | configuration.nix | 41 |
diff --git a/configuration.nix b/configuration.nix index 5a49601..ace667f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -66,6 +66,7 @@ in { shell = pkgs.zsh; homeMode = "711"; # mostly done for httpd access }; +programs.zsh.enable = true; environment.shells = with pkgs; [ zsh ]; @@ -91,25 +92,27 @@ in { # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.05"; # Did you read the comment? - hardware.bluetooth.enable = true; - hardware.sane.enable = true; - hardware.rtl-sdr.enable = true; - virtualisation.docker.enable = true; - - security.polkit.enable = true; - boot.kernelModules = [ "kvm-intel" ]; + # hardware.bluetooth.enable = true; + # hardware.sane.enable = true; + # hardware.rtl-sdr.enable = true; + # virtualisation.docker.enable = true; + # + # security.polkit.enable = true; + # boot.kernelModules = [ "kvm-intel" ]; # https://nixos.wiki/wiki/Accelerated_Video_Playback - nixpkgs.config.packageOverrides = pkgs: { - vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; - }; - hardware.opengl = { - enable = true; - extraPackages = with pkgs; [ - intel-media-driver # LIBVA_DRIVER_NAME=iHD - vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) - vaapiVdpau - libvdpau-va-gl - ]; - }; + # nixpkgs.config.packageOverrides = pkgs: { + # vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; + # }; + # hardware.opengl = { + # enable = true; + # extraPackages = with pkgs; [ + # intel-media-driver # LIBVA_DRIVER_NAME=iHD + # vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) + # vaapiVdpau + # libvdpau-va-gl + # ]; + # }; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; } |
