From 088facf700946cb8f2d96c6089185bdc2a67180a Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 30 Jun 2024 09:56:30 -0400 Subject: alejandra -> nixfmt-rfc-style --- modules/shared/traits/users/seth.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'modules/shared/traits/users/seth.nix') diff --git a/modules/shared/traits/users/seth.nix b/modules/shared/traits/users/seth.nix index 136a343..b5f330d 100644 --- a/modules/shared/traits/users/seth.nix +++ b/modules/shared/traits/users/seth.nix @@ -3,9 +3,11 @@ lib, pkgs, ... -}: let +}: +let cfg = config.traits.users.seth; -in { +in +{ options.traits.users.seth = { enable = lib.mkEnableOption "Seth's user & home configurations"; }; @@ -17,7 +19,7 @@ in { programs.fish.enable = true; home-manager.users.seth = { - imports = [../../../../users/seth]; + imports = [ ../../../../users/seth ]; seth = { enable = true; shell.fish.enable = true; @@ -33,7 +35,7 @@ in { (lib.mkIf (cfg.enable && pkgs.stdenv.isLinux) { users.users.seth = { - extraGroups = ["wheel"]; + extraGroups = [ "wheel" ]; isNormalUser = true; }; }) -- cgit v1.2.3