From 1a8b7a406ab6d03730e2e0ac42691b02d55bef58 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 9 Jan 2024 11:47:23 +0530 Subject: modules/dev: use user environment --- modules/dev.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules') 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 -- cgit v1.2.3