summaryrefslogtreecommitdiff
path: root/configuration/work/default.nix
blob: 322f5bf1ad0bfee86c791e9ac627352d459e2d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ pkgs, ... }:
{
  imports = [
    ../core
    ../hyprland.nix

    ./hardware-configuration.nix
    ./home-manager.nix
    ./networking.nix
    ./secrets.nix
  ];

  system.stateVersion = "24.05"; # Do NOT change before reading configuration.nix

  users.users.jras.extraGroups = [ "networkmanager" "docker" ];

  time.timeZone = "Europe/Amsterdam";

  virtualisation.docker = {
    enable = true;
    enableOnBoot = true;
  };

  hardware.bluetooth.enable = true;
  hardware.bluetooth.powerOnBoot = true;

  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  services.libinput.mouse.accelProfile = "flat";
  services.libinput.mouse.accelSpeed = "-5";
  services.upower.enable = true;

  services.xserver.xkb = {
    layout = "us";
    variant = "";
  };

  programs.gnupg.agent.enable = true;
  programs.gnupg.agent.pinentryPackage = pkgs.pinentry-gnome3;
}