Working system flake builds, attempt to integrate into nixops
This commit is contained in:
@@ -38,8 +38,6 @@
|
||||
site = hostOpts.site;
|
||||
domain = hostOpts.domain;
|
||||
profile = hostOpts.profile;
|
||||
build-seed =
|
||||
builtins.readFile fudo-secrets.build-seed;
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
@@ -56,10 +54,12 @@
|
||||
(config-path + /profile-config/${profile}.nix)
|
||||
(config-path + /domain-config/${domain}.nix)
|
||||
(config-path + /site-config/${site}.nix)
|
||||
({ ... }: {
|
||||
({ config, ... }: {
|
||||
config = {
|
||||
instance = {
|
||||
inherit hostname build-timestamp build-seed;
|
||||
inherit hostname build-timestamp;
|
||||
build-seed = builtins.readFile
|
||||
config.fudo.secrets.files.build-seed;
|
||||
};
|
||||
|
||||
nixpkgs.pkgs = pkgs-for system;
|
||||
|
||||
Reference in New Issue
Block a user