mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
force refresh on recreate-lock-file
This commit is contained in:
parent
faa0bd1b27
commit
4c1a6c264e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.sconfig.flakes;
|
||||
upgradeArg = if cfg.rebuildPath == "/etc/nixos" then "--recreate-lock-file" else "--refresh";
|
||||
upgradeArg = if cfg.rebuildPath == "/etc/nixos" then "--refresh --recreate-lock-file" else "--refresh";
|
||||
in
|
||||
{
|
||||
options.sconfig.flakes = {
|
||||
|
|
Loading…
Reference in a new issue