Skip to content

Commit

Permalink
refactor 🎨(minimal): small refactor inherit
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Hang <[email protected]>
  • Loading branch information
Banh-Canh committed Oct 5, 2024
1 parent c585890 commit e6be3d1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions users/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
pkgs,
lib,
sources,
Expand All @@ -8,10 +7,14 @@
}:
let
userConfig = import ../nixosModules/userConfig.nix {
inherit lib pkgs sources;
overrides = overrides;
inherit
lib
pkgs
sources
overrides
;
};
mkUser = userConfig.mkUser;
inherit (userConfig) mkUser;
in
{
imports = [
Expand Down

0 comments on commit e6be3d1

Please sign in to comment.