summaryrefslogtreecommitdiff
path: root/modules/work/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/work/default.nix')
-rw-r--r--modules/work/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/work/default.nix b/modules/work/default.nix
new file mode 100644
index 0000000..2073ea5
--- /dev/null
+++ b/modules/work/default.nix
@@ -0,0 +1,43 @@
+{ lib, pkgs, ... }:
+{
+ imports = [
+ ../core
+ ../hyprland.nix
+
+ ./hardware-configuration.nix
+ ./home-manager.nix
+ ./networking.nix
+ ./secrets.nix
+ ./tailscale.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;
+}