mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
removed settings.username
This commit is contained in:
parent
60206e95e1
commit
4f9c434347
11 changed files with 39 additions and 43 deletions
|
|
@ -1,6 +1,5 @@
|
|||
_: {
|
||||
pkgs,
|
||||
settings,
|
||||
self,
|
||||
config,
|
||||
lib,
|
||||
|
|
@ -83,7 +82,7 @@ in {
|
|||
runAsRoot = true;
|
||||
ovmf.enable = true;
|
||||
verbatimConfig = ''
|
||||
user = "${settings.username}"
|
||||
user = "gerg"
|
||||
group = "kvm"
|
||||
namespaces = []
|
||||
'';
|
||||
|
|
@ -100,7 +99,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
users.users."${settings.username}".extraGroups = ["kvm" "libvirtd"];
|
||||
users.users.gerg.extraGroups = ["kvm" "libvirtd"];
|
||||
|
||||
services.xserver.displayManager.xserverArgs = lib.mkAfter ["-config /tmp/xorg.conf"];
|
||||
services.xserver.displayManager.sessionCommands = lib.mkBefore ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue