Skip to content

Commit

Permalink
Fix diff in previous article
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Apr 24, 2024
1 parent 4276514 commit 416ae9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ no installed editor, we'll drop into a nix-shell.
[nix-shell:/etc/nixos]# nvim configuration.nix
```

```nix title="/etc/nixos/configuration.nix"
{ pkgs, ... }: { # [!code ++]
```nix diff title="/etc/nixos/configuration.nix"
+{ pkgs, ... }: {
imports = [
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
];
environment.systemPackages = with pkgs; [ neovim cowsay ]; # [!code ++]
+ environment.systemPackages = with pkgs; [ neovim cowsay ];
# ... rest of the config file
}
Expand Down

0 comments on commit 416ae9e

Please sign in to comment.