From 6d35e101278fac150586a99d0b1de21c5cbd1836 Mon Sep 17 00:00:00 2001 From: Stefan Kempinger Date: Wed, 4 Mar 2026 11:22:50 +0100 Subject: [PATCH] Update flake.lock and kemptop configuration Use pkgs.linuxPackages instead of linuxPackages_latest for kernelPackages. Enable the system firewall (networking.firewall.enable = true). Comment out users.groups.kemp members entry. Add jdk and gradle to environment.systemPackages. Enable VirtualBox host and extension pack and add kemp to vboxusers. --- flake.lock | 18 +++++++++--------- kemptop/configuration.nix | 12 ++++++++++-- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index e5d196b..4ec8523 100644 --- a/flake.lock +++ b/flake.lock @@ -65,11 +65,11 @@ ] }, "locked": { - "lastModified": 1771492583, - "narHash": "sha256-nQzvnU4BGu8dA6BsPPCqmVcab/3ebVmHtX3ZWbW3Hxc=", + "lastModified": 1771834715, + "narHash": "sha256-5VI2KiMifx3Dca7nDJzctO3HpnS6zrvesdkLoZBrQRY=", "owner": "nix-community", "repo": "lanzaboote", - "rev": "5e9380994665ef66c87ab8e22c913ff837174ce4", + "rev": "b798c53da0f7e521317a5413335096a21070cf0b", "type": "github" }, "original": { @@ -95,11 +95,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1771369470, - "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", + "lastModified": 1771848320, + "narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0182a361324364ae3f436a63005877674cf45efb", + "rev": "2fc6539b481e1d2569f25f8799236694180c0993", "type": "github" }, "original": { @@ -147,11 +147,11 @@ ] }, "locked": { - "lastModified": 1771729765, - "narHash": "sha256-HNsDSR5bhLSrIpi9bTb2uTK1qnPo1xFSBxs6YmFyprk=", + "lastModified": 1771902481, + "narHash": "sha256-svI5ivzggtu4KhCdoab3xR5+Btop24o7yLFtIPXrsPM=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "be926cb1a76e8450ab2b92121b2e88d09fa4d41c", + "rev": "5177426d9f8f7f1827001c9749b9a9c5570d456b", "type": "github" }, "original": { diff --git a/kemptop/configuration.nix b/kemptop/configuration.nix index cba48be..cfdc42e 100644 --- a/kemptop/configuration.nix +++ b/kemptop/configuration.nix @@ -46,7 +46,8 @@ #bad: 6.17.12 #good: 6.12.59 #bad: 6.12.60 - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages; + # kernelPackages = pkgs.linuxPackages_latest; kernelParams = [ "quiet" "splash" @@ -70,6 +71,7 @@ networking.hostName = "kemptop"; networking.hostId = "5506a8e8"; + networking.firewall.enable = true; networking.networkmanager = { enable = true; plugins = with pkgs; [ @@ -101,7 +103,7 @@ }; users.groups.kemp = { - members = [ "kemp" ]; + # members = [ "kemp" ]; }; environment.systemPackages = with pkgs; [ @@ -144,6 +146,8 @@ diffoscope nix-index libwebp + jdk + gradle # GUI programs @@ -255,6 +259,10 @@ virtualisation.libvirtd.enable = true; virtualisation.libvirtd.qemu.vhostUserPackages = [ pkgs.virtiofsd ]; + virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host.enableExtensionPack = true; + users.extraGroups.vboxusers.members = [ "kemp" ]; + systemd.user.extraConfig = '' DefaultEnvironment="PATH=/run/wrappers/bin:/home/%u/.nix-profile/bin:/nix/profile/bin:/home/%u/.local/state/nix/profile/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" '';