Files
nix-config/systems/x86_64-install-iso/graphical/default.nix
mjallen18 7fcbd0bb7c plasma
2026-03-25 18:23:08 -05:00

64 lines
1.1 KiB
Nix

{
lib,
pkgs,
modulesPath,
namespace,
...
}:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-gnome.nix"
];
${namespace} = {
bootloader.lanzaboote.enable = true;
hardware.disko = {
enable = true;
filesystem = "btrfs";
};
impermanence = {
enable = true;
};
network = {
hostName = "nixos";
firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 22 ];
};
};
security.tpm.enable = true;
user = {
name = "nixos";
password = "nixos";
};
};
specialisation.graphical.configuration = {
${namespace}.desktop.plasma.enable = true;
};
boot = {
kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
supportedFilesystems.zfs = false;
};
services.openssh = {
enable = lib.mkForce true;
settings = {
PermitRootLogin = lib.mkForce "yes";
PasswordAuthentication = lib.mkForce false;
};
};
home-manager.users.nixos.snowfallorg.user.name = "nixos";
sops.defaultSopsFile = lib.mkForce "/dev/null";
sops.validateSopsFiles = false;
}