Merge pull request 'sshd: module fix impurity' (#987) from openssh into main
All checks were successful
checks / check-links (push) Successful in 21s
checks / checks (push) Successful in 35s
checks / checks-impure (push) Successful in 1m46s

This commit is contained in:
clan-bot 2024-03-17 17:20:10 +00:00
commit c727d87213
5 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -9,7 +9,6 @@ example_clan
result*
/pkgs/clan-cli/clan_cli/nixpkgs
/pkgs/clan-cli/clan_cli/webui/assets
/machines
nixos.qcow2
**/*.glade~

View File

@ -2,7 +2,7 @@
services.openssh.enable = true;
services.openssh.hostKeys = [{
path = builtins.storePath config.clanCore.secrets.openssh.secrets."ssh.id_ed25519".path;
path = config.clanCore.secrets.openssh.secrets."ssh.id_ed25519".path;
type = "ed25519";
}];

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBIbwIVnLy+uoDZ6uK/OCc1QK46SIGeC3mVc85dqLYQw lass@ignavia

View File

@ -143,11 +143,11 @@
default = fact.config._module.args.name;
};
path = lib.mkOption {
type = lib.types.str;
type = lib.types.path;
description = ''
path to a fact which is generated by the generator
'';
default = "${config.clanCore.clanDir}/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
default = config.clanCore.clanDir + "/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
};
value = lib.mkOption {
defaultText = lib.literalExpression "\${config.clanCore.clanDir}/\${fact.config.path}";

View File

@ -29,7 +29,7 @@ in
flake.packages.x86_64-linux.install-iso = self.inputs.disko.lib.makeDiskImages {
nixosConfig = installer;
};
flake.nixosConfigurations = clan.nixosConfigurations;
flake.nixosConfigurations = { inherit (clan.nixosConfigurations) installer; };
flake.clanInternals = clan.clanInternals;
flake.apps.x86_64-linux.install-vm.program = installer.config.formats.vm.outPath;
flake.apps.x86_64-linux.install-vm-nogui.program = installer.config.formats.vm-nogui.outPath;