dot.nix/iso/dist/server.nix
Chris Toph ceec977ad8 Introduced buildable ISO images for desktop and server
- ARM and X86
- Fully configured ISO for dot.nix for easy installation
- TODO: automatic builds with github actions
2025-06-15 20:15:16 -04:00

39 lines
727 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
let
hostSpec = config.hostSpec;
username = "nixos";
user = config.secretsSpec.users.${username};
calamares-nixos-autostart = pkgs.makeAutostartItem {
name = "io.calamares.calamares";
package = pkgs.calamares-nixos;
};
in
{
imports = [
"${inputs.dot-nix}/hosts/global/core"
"${inputs.dot-nix}/hosts/global/common/plymouth.nix" # fancy boot screen
];
hostSpec = {
hostName = "nixos";
username = username;
hashedPassword = user.hashedPassword;
email = user.email;
handle = user.handle;
userFullName = user.fullName;
isServer = false;
isMinimal = false;
};
console = {
enable = true;
keyMap = "us";
};
}