minimal working state
This commit is contained in:
parent
855430ef16
commit
6c1a0a5d33
26 changed files with 331 additions and 326 deletions
|
|
@ -18,13 +18,13 @@
|
|||
node,
|
||||
pkgs,
|
||||
lib,
|
||||
_cerulean,
|
||||
_snow,
|
||||
...
|
||||
} @ args: {
|
||||
imports =
|
||||
[
|
||||
_cerulean.inputs.sops-nix.nixosModules.sops
|
||||
# _cerulean.inputs.microvm.nixosModules.microvm
|
||||
_snow.inputs.sops-nix.nixosModules.sops
|
||||
# _snow.inputs.microvm.nixosModules.microvm
|
||||
|
||||
# add support for `options.legacyImports`
|
||||
# ./legacy-imports.nix
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
(import /${root}/nixpkgs.nix)
|
||||
]
|
||||
# homemanager options declarations
|
||||
++ (lib.optional (_cerulean.homeManager != null) ./home.nix)
|
||||
++ (lib.optional (_snow.homeManager != null) ./home.nix)
|
||||
# remote deployment configuration
|
||||
++ (lib.optional (node.deploy.ssh.host != null) ./remote-deploy);
|
||||
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
(with pkgs; [
|
||||
sops
|
||||
])
|
||||
++ (with _cerulean.inputs; [
|
||||
++ (with _snow.inputs; [
|
||||
deploy-rs.packages.${system}.default
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
{
|
||||
_cerulean,
|
||||
_snow,
|
||||
config,
|
||||
root,
|
||||
lib,
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
;
|
||||
in {
|
||||
imports = [
|
||||
_cerulean.homeManager.nixosModules.default
|
||||
_snow.homeManager.nixosModules.default
|
||||
];
|
||||
|
||||
options = {
|
||||
|
|
@ -69,7 +69,7 @@ in {
|
|||
_module.args.username = name;
|
||||
});
|
||||
|
||||
extraSpecialArgs = _cerulean.specialArgs;
|
||||
extraSpecialArgs = _snow.specialArgs;
|
||||
sharedModules = [
|
||||
../home
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue