Difference between revisions of "Talk:Flakes"

From NixOS Wiki
Jump to: navigation, search
(Should we update this for Nix 2.8?)
 
(howto upgrade nixos using flakes)
Line 1: Line 1:
 
A lot of the attributes listed in the schema are out of date.
 
A lot of the attributes listed in the schema are out of date.
 +
 +
----
 +
 +
# Using flakes with NixOS
 +
 +
looks like upgrading NixOS when using flakes now requires
 +
 +
```
 +
$ nixos-rebuild switch --upgrade --recreate-lock-file
 +
```

Revision as of 20:24, 22 January 2024

A lot of the attributes listed in the schema are out of date.


  1. Using flakes with NixOS

looks like upgrading NixOS when using flakes now requires

``` $ nixos-rebuild switch --upgrade --recreate-lock-file ```