tweak: user-parts options

This commit is contained in:
serenity-F 2026-10-01 03:23:49 +10:00
parent 4d9f1174a2
commit 7ee3592f00
No known key found for this signature in database
4 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@
# virtualisation module declaration
flake.nixosModules.virtualisation =
{ pkgs, ... }:
{ pkgs, user-parts, ... }:
{
@ -13,7 +13,7 @@
imports = [ inputs.home-manager.nixosModules.home-manager ];
# adding user to required groups
users.users.serenity = {
users.users.${user-parts.user.username} = {
extraGroups = [
"libvirtd"
"kvm"