Skip to content

Commit

Permalink
feat(config): make nixos auto-build flake changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Oct 27, 2024
1 parent d59c7e7 commit 389b9c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update dependencies
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Run every day at 00:00
- cron: '0 0 * * 0' # Run every day at 00:00
permissions:
contents: write
pull-requests: write
Expand Down
10 changes: 9 additions & 1 deletion configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
pkgs,
inputs,
username,
hostname,
scripts,
...
}:
Expand Down Expand Up @@ -184,5 +185,12 @@ with lib.my; {
};

# System
system.stateVersion = "24.05";
system = {
stateVersion = "24.05";
autoUpgrade = {
enable = true;
flake = "github:zakuciael/nixos-dotfiles#${hostname}";
dates = "daily";
};
};
}

0 comments on commit 389b9c2

Please sign in to comment.