Second commit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(inputs.den.flakeModules.dendritic or { })
|
||||
inputs.den.flakeModule
|
||||
(inputs.den.namespace "lux" true)
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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 "$@"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user