tweak: user-parts options
This commit is contained in:
parent
4d9f1174a2
commit
7ee3592f00
4 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# kde connect module
|
||||
flake.nixosModules.kde-connect =
|
||||
|
||||
{ ... }:
|
||||
{ user-parts, ... }:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
# ];
|
||||
|
||||
# home manager options
|
||||
home-manager.users.serenity = {
|
||||
home-manager.users.${user-parts.user.username} = {
|
||||
|
||||
# kde connect user level options
|
||||
services.kdeconnect = {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue