diff --git a/modules/applications/misc.nix b/modules/applications/misc.nix index 26b7db5..eb60938 100644 --- a/modules/applications/misc.nix +++ b/modules/applications/misc.nix @@ -1,8 +1,6 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ - # Tool to allow hashing passwords from the cmd + home-manager.users.adrielus.home.packages = with pkgs; [ mkpasswd - vscodium google-chrome discord diff --git a/modules/dev/default.nix b/modules/dev/default.nix index bed2c28..072b861 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -1 +1 @@ -{ ... }: { imports = [ ./nix.nix ]; } +{ ... }: { imports = [ ./nix.nix ./purescript.nix ]; } diff --git a/modules/dev/nix.nix b/modules/dev/nix.nix index 6578ed2..2bf8896 100644 --- a/modules/dev/nix.nix +++ b/modules/dev/nix.nix @@ -1,3 +1,7 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ nixfmt niv cached-nix-shell ]; + home-manager.users.adrielus.home.packages = with pkgs; [ + nixfmt + niv + cached-nix-shell + ]; } diff --git a/modules/dev/purescript.nix b/modules/dev/purescript.nix new file mode 100644 index 0000000..f97428f --- /dev/null +++ b/modules/dev/purescript.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + home-manager.users.adrielus.home.packages = with pkgs.easy-purescript-nix; [ + purescript + spago + purty + pscid + ]; +} diff --git a/modules/overlay.nix b/modules/overlay.nix index 094a18d..4c8dee0 100644 --- a/modules/overlay.nix +++ b/modules/overlay.nix @@ -6,6 +6,7 @@ in { with self; rec { inherit imports; cached-nix-shell = callPackage imports.cached-nix-shell { }; + easy-purescript-nix = callPackage imports.easy-purescript-nix { }; inherit (import imports.niv { }) niv; inherit (import imports.all-hies { }) all-hies; })