home.nix
@@ -0,0 +1,45 @@
+{ config, pkgs, lib, ... }:
+
+ # cfg = config.home;
+
+{
+ # 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";
+
+ # 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";
+
+ home.packages = with pkgs; [
+ blender
+ fortune
+ vscode
+ ];
+
+ programs.vscode = {
+ enable = true;
+ package = pkgs.vscodium;
+ };
+
+ # https://github.com/nix-community/home-manager/issues/1341#issuecomment-682253066
+ home.file."Nix Home Manager Apps".source = let
+ apps = pkgs.buildEnv {
+ name = "home-manager-applications";
+ # paths = config.home.packages;
+ };
+ in lib.mkIf pkgs.stdenv.targetPlatform.isDarwin "/Volumes/SeagateHDD/Applications";
+
+ # Allow unsupported pkgs
+ nixpkgs.config.allowUnfree = true;
+}
\ No newline at end of file