File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44 inputs = {
55 nixpkgs . url = "github:NixOS/nixpkgs/nixos-26.05" ;
6- # stable's atuin is older than the one that migrated the local atuin DB, so
7- # atuin (and other fast-moving tools) pin unstable — see
8- # hosts/macbook/home/atuin.nix and packages/unstable.nix.
96 nixpkgs-unstable . url = "github:NixOS/nixpkgs/nixpkgs-unstable" ;
107 nix-darwin = {
118 url = "github:nix-darwin/nix-darwin/nix-darwin-26.05" ;
4239 treefmt-nix = {
4340 url = "github:numtide/treefmt-nix" ;
4441 inputs . nixpkgs . follows = "nixpkgs" ;
42+ } ;
43+ # encore binaries
44+ encore = {
45+ url = "github:encoredev/encore-flake" ;
46+ inputs . nixpkgs . follows = "nixpkgs" ;
4547 } ;
4648 } ;
4749
Original file line number Diff line number Diff line change 1- { pkgs , ... } :
1+ { inputs , pkgs , ... } :
22{
33 imports = [
44 ./atuin.nix
1010 ./packages.nix
1111 ./rust.nix
1212 ./xdg.nix
13+ ./encore.nix
14+ inputs . encore . homeModules . default
1315 ] ;
1416
1517 # session vars point LOCALE_ARCHIVE at i18n.glibcLocales; the default
Original file line number Diff line number Diff line change 1+ { inputs , pkgs , ... } :
2+ let
3+ unstable = import inputs . nixpkgs-unstable { inherit ( pkgs . stdenv . hostPlatform ) system ; } ;
4+ in
5+ {
6+ home . packages = with pkgs ; [
7+ inputs . encore . packages . ${ pkgs . stdenv . hostPlatform . system } . encore
8+ cmake
9+ protobuf
10+ pulumi
11+ unstable . clickhouse
12+ vercel-pkg
13+ overmind
14+ docker-compose
15+ cloudflared
16+ cue
17+ google-cloud-sdk
18+ pgcli
19+ ] ;
20+
21+ programs . encore = {
22+ enable = true ;
23+ settings = {
24+ browser = "never" ;
25+ } ;
26+ } ;
27+
28+ programs . fish . shellInit = ''
29+ # google-cloud-sdk
30+ fish_add_path --global --move --path "/opt/homebrew/share/google-cloud-sdk/bin"
31+ # encore bin folder
32+ fish_add_path --global --move --path "$HOME/bin"
33+ '' ;
34+
35+ # work identity, scoped by repo path
36+ xdg . configFile . "jj/conf.d/encore.toml" . text = ''
37+ --when.repositories = ["~/Developer/encoredev"]
38+
39+ [user]
40+ email = "nikita@encore.dev"
41+ '' ;
42+ }
Original file line number Diff line number Diff line change 118118
119119 # ui.diff-formatter
120120 home . packages = [ pkgs . difftastic ] ;
121-
122- # work identity, scoped by repo path
123- xdg . configFile . "jj/conf.d/cerve.toml" . text = ''
124- --when.repositories = ["~/Developer/cerve"]
125-
126- [user]
127- email = "nikita.galaiko@cerve.com"
128- '' ;
129121}
You can’t perform that action at this time.
0 commit comments