change username to a global var
This commit is contained in:
parent
f080989d8b
commit
d17afc3fb3
6 changed files with 9 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, username, ... }:
|
||||
{
|
||||
# Add user to libvirtd group
|
||||
users.users.frostphoenix.extraGroups = [ "libvirtd" ];
|
||||
users.users.${username}.extraGroups = [ "libvirtd" ];
|
||||
|
||||
# Install necessary packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue