summaryrefslogtreecommitdiff
path: root/configuration/work/default.nix
blob: 5c94b84afb49ae5d67cc4a6570a878d540e8c7f7 (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
42
{ lib, 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" ];
  security.sudo.wheelNeedsPassword = lib.mkForce true;

  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;
}