Skip to content

Commit

Permalink
I should got the answer...!
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 24, 2023
1 parent e58ea51 commit bdcbf36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
os:
- ubuntu-22.04
- macos-13
home-manager-channel-ref:
- a8f8f48320c64bd4e3a266a850bbfde2c6fe3a04 # Pinned for current use
- master # unstable nixpkgs

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -37,7 +34,7 @@ jobs:
- uses: actions/checkout@v3
# https://www.reddit.com/r/Nix/comments/1443k3o/comment/jr9ht5g/?utm_source=reddit&utm_medium=web2x&context=3
- run: mkdir -p ~/.local/state/nix/profiles
- run: nix run home-manager/${{ matrix.home-manager-channel-ref }} -- switch -b backup --flake .#github-actions
- run: nix run .#home-manager -- switch -b backup --flake .#github-actions
- name: Print some paths and versions
run: |
which fish
Expand Down
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
'';

apps = {
# https://github.com/NixOS/nix/issues/6448#issuecomment-1132855605
home-manager = flake-utils.lib.mkApp {
drv = home-manager.defaultPackage.${system};
};

# nix run .#json2nix
json2nix = {
type = "app";
Expand Down

0 comments on commit bdcbf36

Please sign in to comment.