Skip to content

Commit

Permalink
Add Sudo channels
Browse files Browse the repository at this point in the history
  • Loading branch information
benkio committed Jun 30, 2024
1 parent 17c1682 commit 6d7e136
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install nixpkgs-unstable & home-manager channel + nixfmt
- name: Install channels + nixfmt
run: |
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
sudo -i nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
sudo -i nix-channel --update nixpkgs
nix-env -iA nixfmt-rfc-style -f '<nixpkgs>'
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
nix-shell '<home-manager>' -A install
Expand Down

0 comments on commit 6d7e136

Please sign in to comment.