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.
This commit is contained in:
Stefan Kempinger 2026-03-04 11:22:50 +01:00
parent 6b5dc94ad8
commit 6d35e10127
2 changed files with 19 additions and 11 deletions

View file

@ -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"
'';