fixed missing zsh
This commit is contained in:
parent
770e35644c
commit
c2f5121149
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
drv=$(colmena eval -E "{ nodes, ... }: nodes.kat-iso.config.system.build.isoImage" --instantiate --show-trace)
|
drv=$(colmena eval -E "{ nodes, ... }: nodes.kat-iso.config.system.build.isoImage" --instantiate --show-trace)
|
||||||
nix-store --realize --add-root "installer-iso-image" --indirect $drv
|
nom-build $drv
|
||||||
|
|
|
@ -2,14 +2,17 @@
|
||||||
{ config, lib, pkgs, mods, ... }:
|
{ config, lib, pkgs, mods, ... }:
|
||||||
{
|
{
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
users.users.root.shell = pkgs.zsh;
|
users.users.root = {
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
} // lib.attrsets.optionalAttrs ssh {
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
|
||||||
|
];
|
||||||
|
};
|
||||||
home-manager.users.root = {
|
home-manager.users.root = {
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
imports = with mods.home; [ neovim zsh ];
|
imports = with mods.home; [ neovim zsh ];
|
||||||
};
|
};
|
||||||
} // lib.attrsets.optionalAttrs ssh {
|
} // lib.attrsets.optionalAttrs ssh {
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
|
|
||||||
];
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue