From 07f84bb581e369ff79100f0417e9d277f3c1fb61 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 12 Feb 2025 08:19:04 +0100 Subject: alot of stuff --- modules/work/default.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 modules/work/default.nix (limited to 'modules/work/default.nix') 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; +} -- cgit v1.2.3