File tree Expand file tree Collapse file tree 3 files changed +15
-23
lines changed
Expand file tree Collapse file tree 3 files changed +15
-23
lines changed Original file line number Diff line number Diff line change 99 XDG_CONFIG_HOME : ${{ github.workspace }}
1010 steps :
1111 - uses : actions/checkout@v3
12- - run : make nix-pkgs OS=ubuntu devShell=''
13- - run : . ./nix/load-ubuntu.sh && make test -o setup-nix OS=ubuntu STOW_ARGS='--v
14- --adopt'
15- - run : . ./nix/load-ubuntu.sh && sudo -E make setup-ubuntu -o setup-nix OS=ubuntu
16- STOW_ARGS='--v --adopt'
17- # TODO having problems with zsh being available
18- # can't set $PATH correctly
19- # - run: . ./nix/load-linux.sh && sudo -E make js python OS=linux
20- # macos:
21- # runs-on: macos-latest
22- # env:
23- # XDG_CONFIG_HOME: ${{ github.workspace }}
24- # NIXPKGS_ALLOW_BROKEN: 1
25- # steps:
26- # - uses: actions/checkout@v3
27- # - uses: actions/setup-node@v3
28- # with:
29- # node-version: 16
30- # - run: make nix-pkgs OS=macos
31- # - run: . ./nix/load-macos.sh && make test -o setup-nix OS=macos STOW_ARGS='--v
32- # --adopt'
12+ macos :
13+ runs-on : macos-latest
14+ env :
15+ XDG_CONFIG_HOME : ${{ github.workspace }}
16+ NIXPKGS_ALLOW_BROKEN : 1
17+ steps :
18+ - uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ setup-nix:
6969
7070NIX_ARGS =--extra-experimental-features nix-command --extra-experimental-features flakes
7171nix-pkgs : setup-nix
72- . ./nix/load-" $( OS) " .sh && cd nix && nix flake update $(NIX_ARGS ) && (nix profile upgrade $( NIX_ARGS) nix || nix profile install $( NIX_ARGS) .)
72+ . ./nix/load-" $( OS) " .sh && cd nix && nix flake update " $( NIX_ARGS) " && (nix profile upgrade " $( NIX_ARGS) " nix || nix profile install " $( NIX_ARGS) " .)
7373
7474.PHONY : setup-brew brew-pkgs
7575
Original file line number Diff line number Diff line change 11# dotfiles
22
3- Setup and configuration for my terminal based developer workflow:
3+ Setup and configuration for my terminal based developer workflow (MacOS/Ubuntu) :
44
55- Zsh for a shell
66- Nix for package management of shell programs
@@ -10,6 +10,12 @@ Setup and configuration for my terminal based developer workflow:
1010
1111This repo should be cloned into ` $HOME ` and set as ` $XDG_CONFIG_HOME ` .
1212
13+ You can setup your machine using commands in ` Makefile ` . Commonly setting up a machine involves:
14+
15+ - Installing packages with Nix or Homebrew
16+ - Setting up symlinks with Stow
17+ - Setting up tmux & Zsh
18+
1319## Use
1420
1521### Ubuntu
You can’t perform that action at this time.
0 commit comments