diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-09 11:47:23 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-09 11:47:23 +0530 |
commit | 1a8b7a406ab6d03730e2e0ac42691b02d55bef58 (patch) | |
tree | c7a2e62add1d759f3c9d576eddcbba5f28fd96ac | |
parent | 08f6d527cb4ba5ee4115ebb9ee1d8b04bbf167ac (diff) |
modules/dev: use user environment
-rw-r--r-- | modules/dev.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/dev.nix b/modules/dev.nix index 76337d5..a74aa84 100644 --- a/modules/dev.nix +++ b/modules/dev.nix @@ -1,7 +1,10 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: +let + user = config.userdata.user; +in { - environment.systemPackages = with pkgs; [ + users.users.${user}.packages = with pkgs; [ gcc git lua |