summaryrefslogtreecommitdiff
path: root/nodes/work/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nodes/work/configuration.nix')
-rw-r--r--nodes/work/configuration.nix55
1 files changed, 55 insertions, 0 deletions
diff --git a/nodes/work/configuration.nix b/nodes/work/configuration.nix
new file mode 100644
index 0000000..6d970b2
--- /dev/null
+++ b/nodes/work/configuration.nix
@@ -0,0 +1,55 @@
+{ lib, pkgs, inputs, ... }:
+{
+ imports = [
+ inputs.home-manager.nixosModules.home-manager
+ inputs.agenix.nixosModules.default
+ inputs.disko.nixosModules.disko
+ inputs.update-systemd-resolved.nixosModules.update-systemd-resolved
+
+ ../../modules/core
+ ../../modules/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;
+ };
+
+ virtualisation.virtualbox = {
+ host.enable = true;
+ host.enableKvm = false;
+ };
+
+ users.extraGroups.vboxusers.members = [ "jras" ];
+
+
+ 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;
+}