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.opengl = {
13 enable = true;
14 extraPackages = with pkgs; [
15 intel-media-driver
16 intel-vaapi-driver
17 libvdpau-va-gl
18 libva
19 onevpl-intel-gpu
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}