Revisions for ⁨home.nix⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-02-01 23:13:10 UTC

home.nix

@@ -0,0 +1,66 @@

+[130] david@Davids-iMac> home-manager build --option sandbox false                                                                                                                                                                                                                                                       ~
+warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
+warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
+these derivations will be built:
+  /nix/store/i77fbkfn932vc65s67f65nwx6ian69iz-iterm2-3.3.9.drv
+  /nix/store/9x5ywv3wsav4ny27ip3ycax39yh0alx8-home-manager-path.drv
+  /nix/store/131434d28kw3kd6vdcynray2r03mk2ln-activation-script.drv
+  /nix/store/q7g14vx7wx8km4gnmwn9qwh704gyb37q-home-manager-generation.drv
+building '/nix/store/i77fbkfn932vc65s67f65nwx6ian69iz-iterm2-3.3.9.drv'...
+unpacking sources
+unpacking source archive /nix/store/q9m2g2rnydz0didj4ag7yfsb59843y99-source
+source root is source
+patching sources
+applying patch /nix/store/fwdhwxd3qs62k9w8gddl45q6wk88fiyk-disable_updates.patch
+patching file sources/iTermPreferences.m
+Hunk #1 succeeded at 274 (offset 85 lines).
+configuring
+no configure script, doing nothing
+building
+build flags: SHELL=/nix/store/rq1inyhyr4gddgc5gxdid38iwn7769d7-bash-4.4-p23/bin/bash Nix
+xcodebuild -parallelizeTargets -target iTerm2 -scheme iTerm2 -configuration Deployment -derivedDataPath . CODE_SIGN_IDENTITY= DEVELOPMENT_TEAM= && \
+chmod -R go+rX Build/Products/Deployment
+xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
+make: *** [Makefile:44: Nix] Error 1
+builder for '/nix/store/i77fbkfn932vc65s67f65nwx6ian69iz-iterm2-3.3.9.drv' failed with exit code 2
+cannot build derivation '/nix/store/9x5ywv3wsav4ny27ip3ycax39yh0alx8-home-manager-path.drv': 1 dependencies couldn't be built
+cannot build derivation '/nix/store/q7g14vx7wx8km4gnmwn9qwh704gyb37q-home-manager-generation.drv': 1 dependencies couldn't be built
+error: build of '/nix/store/q7g14vx7wx8km4gnmwn9qwh704gyb37q-home-manager-generation.drv' failed
+
+There are 93 unread and relevant news items.
+Read them by running the command 'home-manager news'.
+
+
+{ config, pkgs, ... }:
+
+{
+  # Let Home Manager install and manage itself.
+  programs.home-manager.enable = true;
+
+  # Home Manager needs a bit of information about you and the
+  # paths it should manage.
+  home.username = "david";
+  home.homeDirectory = "/Users/david";
+
+  home.packages = with pkgs; [
+    go
+    iterm2
+  ];
+
+  programs.go = {
+    enable = true;
+    packages = {
+      "golang.org/x/tools" = builtins.fetchGit "https://go.googlesource.com/tools";
+    };
+  };
+
+  # This value determines the Home Manager release that your
+  # configuration is compatible with. This helps avoid breakage
+  # when a new Home Manager release introduces backwards
+  # incompatible changes.
+  #
+  # You can update Home Manager without changing this value. See
+  # the Home Manager release notes for a list of state version
+  # changes in each release.
+  home.stateVersion = "21.03";
+}
\ No newline at end of file