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