Skip to content

Commit

Permalink
feat(core): add auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Dec 3, 2023
1 parent 5ee6e42 commit 1d077e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/core/update.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{inputs, ...}: {
system.autoUpgrade = {
enable = true;
flake = inputs.self.outPath;
flags = [
"--update-input"
"nixpkgs"
"-L"
];
#channel = "https://channels.nixos.org/?prefix=nixos-unstable";
};
}

0 comments on commit 1d077e0

Please sign in to comment.