import fixes
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
{ self, ... }:
|
||||
{
|
||||
config.flake.factory.user = username: isAdmin: {
|
||||
|
||||
nixos."${username}" = { lib, pkgs, ... }: {
|
||||
users.users."${username}" = {
|
||||
isNormalUser = true;
|
||||
@@ -16,6 +15,8 @@
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
# Import the corresponding homeManager module for the given username
|
||||
home-manager.users."${username}" = {
|
||||
imports = [
|
||||
self.modules.homeManager."${username}"
|
||||
@@ -25,6 +26,7 @@
|
||||
|
||||
homeManager."${username}" = {
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user