mu
change
commit 5aa9755ddb59e00d680b0314dbe082fc0b9bded8
author Alpha Chen <alpha@kejadlen.dev>
date
parent 4ac63cf2
diff --git a/meta/dev/dev.nix b/meta/dev/dev.nix
new file mode 100644
index 00000000..5154c96f
--- /dev/null
+++ b/meta/dev/dev.nix
@@ -0,0 +1,49 @@
+{ config, pkgs, ... }:
+
+let
+  dotfiles = fetchGit {
+    url = "https://github.com/kejadlen/dotfiles.git";
+    ref = "main";
+    rev = "b7c7b0bee54758917dbd699b556868220869ad17";
+    submodules = true;
+  };
+in {
+  # 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 = "alpha";
+  home.homeDirectory = "/Users/alpha";
+
+  # 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.05";
+
+  # https://github.com/nix-community/home-manager/pull/2647
+  home.stateVersion = "20.09";
+
+  home.file = {
+    ".dotfiles".source = dotfiles;
+    # ".vim".source = ../../.vim;
+    # ".vimrc".source = ../../.vimrc;
+
+    # Hacky way of creating directories
+    ".config/op/.keep".text = "";
+    ".vim_tmp/.keep".text = "";
+    ".vim_undo/.keep".text = "";
+  };
+
+  home.packages = with pkgs; [
+    ansible
+    # macvim
+    tmux
+    vim
+  ];
+}
diff --git a/meta/dev/flake.nix b/meta/dev/flake.nix
new file mode 100644
index 00000000..959a7a73
--- /dev/null
+++ b/meta/dev/flake.nix
@@ -0,0 +1,23 @@
+{
+  description = "kejadlen/dotfiles";
+
+  inputs = {
+    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+    # nixpkgs.url = "flake:nixpkgs";
+    home-manager = {
+      url = "github:nix-community/home-manager";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
+  };
+
+  outputs = { home-manager, nixpkgs, ... }: {
+    homeConfigurations = {
+      macos = home-manager.lib.homeManagerConfiguration {
+        system = "x86_64-darwin";
+        homeDirectory = "/Users/alpha";
+        username = "alpha";
+        configuration.imports = [ ./dev.nix ];
+      };
+    };
+  };
+}
diff --git a/meta/playbooks/homebrew.yml b/meta/playbooks/homebrew.yml
index b62bd8e6..e4452a1c 100644
--- a/meta/playbooks/homebrew.yml
+++ b/meta/playbooks/homebrew.yml
@@ -46,7 +46,7 @@
         - watch
         - yarn
         - ykman
-        - youtube-dl
+        - yt-dlp
         - zsh
         - fabianishere/personal/pam_reattach
 
@@ -83,12 +83,12 @@
         - firefox-developer-edition
         - flotato
         # - font-atkinson-hyperlegible
-        - font-fira-mono
-        - font-hack
-        - font-hasklig
-        - font-source-code-pro
+        # - font-fira-mono
+        # - font-hack
+        # - font-hasklig
+        - font-sauce-code-pro-nerd-font
+        # - font-source-code-pro
         - hammerspoon
-        - kaleidoscope
         - macvim
         - mailmate
         # - netnewswire
@@ -120,9 +120,7 @@
   - name: install from app store
     command: mas install {{ item }}
     with_items:
-      # - 451907568   # Paprika Recipe Manager
-      # - 497799835   # Xcode
-      - 904280696   # Things 3
+      # TODO Little Snitch Mini
       - 1028916583  # iPulse
       - 1522267256  # Shareful
       - 1529448980  # Reeder 5