mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 16:51:54 -05:00
userModules: remove manageHome option
This commit is contained in:
parent
90289cad1d
commit
a54098ce92
|
@ -9,10 +9,7 @@
|
|||
imports = [./syncthing.nix];
|
||||
|
||||
config = lib.mkIf config.ar.users.aly.enable {
|
||||
home-manager.users.aly =
|
||||
lib.attrsets.optionalAttrs
|
||||
config.ar.users.aly.manageHome
|
||||
{imports = [self.homeManagerModules.aly];};
|
||||
home-manager.users.aly = self.homeManagerModules.aly;
|
||||
|
||||
users.users.aly = {
|
||||
description = "Aly Raffauf";
|
||||
|
|
|
@ -7,10 +7,7 @@
|
|||
...
|
||||
}: {
|
||||
config = lib.mkIf config.ar.users.dustin.enable {
|
||||
home-manager.users.dustin =
|
||||
lib.attrsets.optionalAttrs
|
||||
config.ar.users.dustin.manageHome
|
||||
{imports = [self.homeManagerModules.dustin];};
|
||||
home-manager.users.dustin = self.homeManagerModules.dustin;
|
||||
|
||||
users.users.dustin = {
|
||||
description = "Dustin Raffauf";
|
||||
|
|
|
@ -7,10 +7,7 @@
|
|||
...
|
||||
}: {
|
||||
config = lib.mkIf config.ar.users.morgan.enable {
|
||||
home-manager.users.morgan =
|
||||
lib.attrsets.optionalAttrs
|
||||
config.ar.users.morgan.manageHome
|
||||
{imports = [self.homeManagerModules.morgan];};
|
||||
home-manager.users.morgan = self.homeManagerModules.morgan;
|
||||
|
||||
users.users.morgan = {
|
||||
description = "Morgan Tamayo";
|
||||
|
|
|
@ -8,12 +8,6 @@
|
|||
mkUser = user: {
|
||||
enable = lib.mkEnableOption "${user}.";
|
||||
|
||||
manageHome = lib.mkOption {
|
||||
description = "Whether to manage ${user}'s home directory.";
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
};
|
||||
|
||||
password = lib.mkOption {
|
||||
description = "Hashed password for ${user}.";
|
||||
type = lib.types.str;
|
||||
|
|
Loading…
Reference in a new issue