all repos — char/flake @ a200cec5a3a535a1955782b82936a515e5ce95e2

nixos flake

profiles/opal/base.nix (view raw)

 1{ pkgs, ... }: {
 2  networking.hostName = "opal";
 3  time.timeZone = "Europe/London";
 4
 5  boot.initrd.kernelModules = [ "ideapad_laptop" ];
 6  boot.kernelParams = [ "i8042.direct" "i8042.dumbkbd" ]; # funny keyboard issue
 7
 8  hardware.opengl = {
 9    enable = true;
10    extraPackages = with pkgs; [
11      intel-media-driver
12      intel-vaapi-driver
13      libvdpau-va-gl
14      libva
15      onevpl-intel-gpu
16    ];
17  };
18
19  users.users.charlotte = {
20    isNormalUser = true;
21    description = "charlotte";
22    extraGroups = [ "networkmanager" "wheel" "video" ];
23    shell = pkgs.zsh;
24
25    packages = (with pkgs; [
26      stow
27    ]);
28  };
29}