This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix extra-container eval: add dummy nixos-init option

extra-container uses a minimal NixOS module set for fast evaluation.
nixpkgs unstable added nixos-init.nix and systemd.nix now references
config.system.nixos-init.package, but extra-container's module set
doesn't include it.

Add a dummy nixos-init.package option to the outer container config,
matching extra-container's existing pattern for missing options.

Also fixes services.mingetty -> services.getty rename in virtulus.

+17 -2
+16 -1
flake.nix
··· 248 248 inputs.extra-container.lib.buildContainers { 249 249 inherit system; 250 250 nixpkgs = inputs.nixpkgs; 251 - config.containers.${name} = containerConfig; 251 + config = { 252 + # Workaround: extra-container's minimal module set doesn't 253 + # include nixos-init.nix, but systemd.nix now references 254 + # config.system.nixos-init.package for env-generator. 255 + # Provide a dummy option until extra-container is updated. 256 + 257 + imports = [ 258 + ( 259 + { pkgs, lib, ... }: 260 + { 261 + options.system.nixos-init.package = lib.mkPackageOption pkgs "nixos-init" { }; 262 + } 263 + ) 264 + ]; 265 + containers.${name} = containerConfig; 266 + }; 252 267 } 253 268 ) 254 269 ) self.containerConfigurations;
+1 -1
machines/virtulus/config.nix
··· 8 8 ]; 9 9 10 10 krebs.build.host.name = "virtulus"; 11 - services.mingetty.autologinUser = "demo"; 11 + services.getty.autologinUser = "demo"; 12 12 13 13 users.users.demo = { 14 14 isNormalUser = true;