Alexander Tomokhov
049ecd3e32
embed etc-nixos
2023-11-08 16:27:52 +04:00
Alexander Tomokhov
b9dad899de
pass /etc/nixos folder as an input to override
...
This way it is expected to have access to this path from build results,
making it possible to reproduce the build.
2023-11-08 16:27:52 +04:00
Alexander Tomokhov
2d7680d456
do not try to embed flake's git revision
2023-10-18 16:25:18 +04:00
Alexander Tomokhov
11567d4db9
flake: revert from self.dirtyRev to self.rev
2023-10-09 02:23:45 +04:00
Alexander Tomokhov
9370d17b82
flake: embed dirty revision of NixOS configuration instead
...
The inevitable `--override-input` nix build (and nixos-rebuild) option
induces dirty state of the NixOS flake, thus `self.rev` couldn't be used
together.
2023-10-09 02:07:49 +04:00
Alexander Tomokhov
5643877cc1
flake: embed NixOS configuration git commit sha1 into nixos.label
2023-09-28 00:56:47 +04:00
Alexander Tomokhov
e4473ec733
do not import selfprivacy overlay path, but use flake overlay output
2023-09-18 17:22:13 +04:00
Alexander Tomokhov
50c554e6e7
don't pass selfprivacy-overlay to configuration.nix; nix flake lock
2023-08-23 02:06:33 +04:00
Alexander Tomokhov
d1d025dda6
use hardware-configuration.nix as a flake input
2023-08-23 00:37:16 +04:00
Alexander Tomokhov
afcec981bc
experiment with userdata flake input to override by caller
2023-08-22 22:22:13 +04:00
Alexander Tomokhov
a822f97699
pin dependencies in flake
2023-07-17 05:05:29 +04:00
Alexander Tomokhov
82dd9ad2d4
now it's a function, requiring userdata argument
2023-07-17 04:37:04 +04:00
Alexander Tomokhov
d4af9f4459
attempt to readFile userdsata.json
2023-07-17 04:19:57 +04:00
Alexander Tomokhov
ee2a895c61
test
2023-07-17 04:15:03 +04:00