mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.sconfig.flakes;
|
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
|
in
|
||||||
{
|
{
|
||||||
options.sconfig.flakes = {
|
options.sconfig.flakes = {
|
||||||
|
|
Loading…
Reference in a new issue