made podman the default oci runtime

removed the bootloader from the core table in markdown
This commit is contained in:
2026-07-07 00:06:35 -05:00
parent 0b4d797202
commit 43a1af6a17
2 changed files with 18 additions and 22 deletions
+2 -10
View File
@@ -16,13 +16,9 @@ imports = [
Base system setup: kernel, bootloader, primary user, SSH, unfree packages. Base system setup: kernel, bootloader, primary user, SSH, unfree packages.
| Option | Type | Default | Notes | | Option | Type | Default | Notes |
| ------------------------------- | ------------------------------------------------ | ---------------- | -------------------------------------------------------------------- | | --------------------- | ------------------------------------------------ | ---------------- | -------------------------------------------------------------------- |
| `kernel` | `"stable"` \| `"lts"` \| `"latest"` | `"lts"` | Maps to `linuxPackages`, `linuxPackages_lts`, `linuxPackages_latest` | | `kernel` | `"stable"` \| `"lts"` \| `"latest"` | `"lts"` | Maps to `linuxPackages`, `linuxPackages_lts`, `linuxPackages_latest` |
| `bootloader.type` | `"grub"` \| `"systemd"` | `"grub"` | Which bootloader path to use | | |
| `bootloader.grub.enable` | bool | `false` | Set `true` when `type = "grub"` |
| `bootloader.grub.device` | string | `"nodev"` | GRUB install target, e.g. `"/dev/sda"` |
| `bootloader.systemd.enable` | bool | `false` | Set `true` when `type = "systemd"` |
| `bootloader.systemd.efiSupport` | bool | `true` | |
| `user.name` | string | `"river"` | | | `user.name` | string | `"river"` | |
| `user.fullName` | string | `"Maaz Khokhar"` | | | `user.fullName` | string | `"Maaz Khokhar"` | |
| `user.shell` | string (typed as list in options — likely a bug) | `"fish"` | Used as `programs.${shell}.enable` | | `user.shell` | string (typed as list in options — likely a bug) | `"fish"` | Used as `programs.${shell}.enable` |
@@ -34,10 +30,6 @@ Base system setup: kernel, bootloader, primary user, SSH, unfree packages.
```nix ```nix
homelab.core = { homelab.core = {
kernel = "lts"; kernel = "lts";
bootloader = {
type = "systemd";
systemd.enable = true;
};
# user / allowUnfree / ssh all have sensible defaults # user / allowUnfree / ssh all have sensible defaults
}; };
``` ```
+5 -1
View File
@@ -10,12 +10,16 @@ in
{ {
config = lib.mkMerge [ config = lib.mkMerge [
(lib.mkIf cfg.podman.enable { (lib.mkIf cfg.podman.enable {
virtualisation.podman = { virtualisation = {
oci-containers.backend = "podman";
podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
};
# For rootless containers # For rootless containers
security.unprivilegedUsernsClone = true; security.unprivilegedUsernsClone = true;