diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-03-29 12:54:20 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-03-29 12:54:20 +0100 |
commit | 5bf105b94f3c63bc738b788b2b651985eed96c11 (patch) | |
tree | c8b98b552fede2854fdc9ebf59f8a030ebd7e3cd /nodes/work/configuration.nix | |
parent | 5b41ca762c6a44fa7a77e5f5324bcecf8a47f4c7 (diff) |
dynamic nodes
Diffstat (limited to 'nodes/work/configuration.nix')
-rw-r--r-- | nodes/work/configuration.nix | 55 |
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; +} |