nix/host/x86_64-linux/installer/default.nix

33 lines
710 B
Nix
Raw Normal View History

2025-01-18 22:06:57 +03:00
{ inputs, lib, pkgs, ... }:
2025-01-18 21:01:06 +03:00
{
2025-01-18 21:20:02 +03:00
imports = [
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
];
networking.wireless.enable = lib.mkForce false;
# Override my settings to allow SSH logins using root password.
services.openssh.settings = {
PasswordAuthentication = lib.mkForce true;
PermitRootLogin = lib.mkForce "yes";
};
2025-01-18 22:06:57 +03:00
# Needed by installer smh.
environment.systemPackages = with pkgs; [
ghc
];
2025-01-18 21:01:06 +03:00
# Root user setup.
home.nixos.enable = true;
user.root = true;
module = {
keyd.enable = true;
2025-01-18 21:20:02 +03:00
package.all = true;
2025-01-18 21:01:06 +03:00
purpose = {
live = true;
};
};
}