all repos — char/flake @ 1c7378c12f4e8d2b7911288c442d0fbc7c149351

nixos flake

profiles/opal/base.nix (view raw)

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