From 0b051efb66368a6aa765646b72a7e8e1762dd94f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 28 Nov 2023 10:08:42 +0200 Subject: [flake] Initial setup --- configuration.nix | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'configuration.nix') 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" ]; } -- cgit v1.3.1-26-gb76a