Skip to content

Commit

Permalink
Guess I forgot to enable flakes then
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhalili2006 committed Dec 29, 2024
1 parent 55358b7 commit 245a062
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/update-flakes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
uses: cachix/install-nix-action@v14
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake
run: nix flake update
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# `@andreijiroh-dev/nixops-config`

## Usage

```bash
# change {hostname} to something like stellapent-cier
sudo nixos-rebuild --flake github:andreijiroh-dev/nixops-config#{hostname} <switch|boot|build>
```
2 changes: 1 addition & 1 deletion hosts/stellapent-cier/users/gildedguy.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:

let
vscExts = (import ../../../shared/vscode-extensions.nix) {
vscExts = (import ../../../shared/vscode/extensions.nix) {
pkgs = pkgs;
lib = lib;
};
Expand Down

0 comments on commit 245a062

Please sign in to comment.