Build flags: Difference between revisions
imported>Lassulus No edit summary |
imported>Appetrosyan Rewrote to use the file template |
||
Line 7: | Line 7: | ||
You need to be a trusted user to override the local system feature. | You need to be a trusted user to override the local system feature. | ||
{{file|optimised_openssl.nix|nix|<nowiki> | |||
let | let | ||
pkgs = import <nixpkgs> { | pkgs = import <nixpkgs> { | ||
Line 19: | Line 18: | ||
in | in | ||
pkgs.openssl | pkgs.openssl | ||
</ | </nowiki>}} | ||
Then build the file: | Then build the file: | ||
Line 27: | Line 26: | ||
==== Building the whole system on NixOS ==== | ==== Building the whole system on NixOS ==== | ||
{{file|/etc/nixos/configuration/nix|nix|<nowiki> | |||
{ config, pkgs, lib, ... }: | { config, pkgs, lib, ... }: | ||
{ | { | ||
Line 37: | Line 35: | ||
}; | }; | ||
} | } | ||
</ | </nowiki>}} | ||