diff options
| Commit | 0b051efb66368a6aa765646b72a7e8e1762dd94f (patch) | |
|---|---|---|
| Author | 2023-11-28 10:08:42 +0200 | |
| Committer | 2023-11-28 10:08:52 +0200 | |
| Files | 6f88988d99362742b884001708728c6acac220ad /configuration.nix | |
| nix-0b051efb66368a6aa765646b72a7e8e1762dd94f.tar nix-0b051efb66368a6aa765646b72a7e8e1762dd94f.tar.gz nix-0b051efb66368a6aa765646b72a7e8e1762dd94f.zip | ||
| Parent | d922ab552d5e3857df589a060a5f98aa0f8d592c (diff) | |
[flake] Initial setup
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" ]; } |
