diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-27 13:09:35 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-27 13:09:35 +0200 |
commit | f12da1cfafbf3bc2fe3e0b3e79dae449b0b20041 (patch) | |
tree | d539bb40495b1d9a7e5349ccd57598e95936605e /platforms | |
parent | 8d22fcabcc9e5a6c1ca15a51def7059060ececad (diff) | |
download | dots-f12da1cfafbf3bc2fe3e0b3e79dae449b0b20041.tar.gz dots-f12da1cfafbf3bc2fe3e0b3e79dae449b0b20041.zip |
Fix syntax errors
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/common-packages.nix | 5 | ||||
-rw-r--r-- | platforms/darwin/configuration.nix | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/platforms/common-packages.nix b/platforms/common-packages.nix index 9bfac5e..e9c36fd 100644 --- a/platforms/common-packages.nix +++ b/platforms/common-packages.nix @@ -1,4 +1,7 @@ +pkgs: +with pkgs; [ + stdenv curl wget vim @@ -8,4 +11,4 @@ ripgrep jq file -]; +] diff --git a/platforms/darwin/configuration.nix b/platforms/darwin/configuration.nix index da6e0aa..bed3593 100644 --- a/platforms/darwin/configuration.nix +++ b/platforms/darwin/configuration.nix @@ -1,13 +1,16 @@ { config, pkgs, ... }: let - common-packages = import ../common-packages.nix; + common_packages = import ../common-packages.nix pkgs; +in { # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget environment.systemPackages = with pkgs; [ # Packages - ] ++ common-packages; + hello + ] + ++ common_packages; # Use a custom configuration.nix location. # $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix |