Second commit

This commit is contained in:
2026-02-28 14:42:54 +01:00
parent 1d7a6e0905
commit e367fe7769
2 changed files with 1 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
{ inputs, ... }:
{
imports = [
(inputs.den.flakeModules.dendritic or { })
inputs.den.flakeModule
(inputs.den.namespace "lux" true)
];
}

View File

@@ -1,24 +0,0 @@
# enables `nix run .#vm`. it is very useful to have a VM
# you can edit your config and launch the VM to test stuff
# instead of having to reboot each time.
{ inputs, den, ... }:
{
# USER TODO: remove this tty-autologin used for the VM
den.aspects.igloo.includes = [ (den.provides.tty-autologin "tux") ];
perSystem =
{ pkgs, ... }:
{
packages.vm = pkgs.writeShellApplication {
name = "vm";
text =
let
host = inputs.self.nixosConfigurations.igloo.config;
in
''
${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@"
'';
};
};
}