This commit is contained in:
4DBug
2026-03-23 08:24:07 -05:00
parent 650f0469bc
commit 2ab5eff599
7 changed files with 33 additions and 14 deletions

View File

@@ -22,11 +22,13 @@
janitor
];
nixos = {
nixos = { pkgs, ...}: {
networking.hostName = "box";
# den.tunnels = [ "tvtun" ];
environment.systemPackages = [ pkgs.python3 ];
users.users.levi = {
isNormalUser = true;
description = "levi";

View File

@@ -10,6 +10,8 @@
janitor
ollama
alc897
];
nixos = {

View File

@@ -0,0 +1,10 @@
{ ... }: {
den.aspects.sshuttle = {
nixos = { pkgs, ... }: {
environment.systemPackages = with pkgs; [
python
sshuttle
];
};
};
}

View File

@@ -1,5 +1,5 @@
{ den, ... }: {
den.aspects.utilities = {
includes = with den.aspects; [ system-utils desktop-utils fonts ];
includes = with den.aspects; [ system-utils desktop-utils fonts sshuttle ];
};
}
}

View File

@@ -1,16 +1,16 @@
# nix run .#vm
{ inputs, den, ... }: {
den.aspects.nix.includes = [ (den.provides.tty-autologin "bug") ];
den.aspects.nix.includes = [ (den.provides.tty-autologin "bug") ];
perSystem = { pkgs, ... }: {
packages.vm = pkgs.writeShellApplication {
name = "vm";
text = let
host = inputs.self.nixosConfigurations.nix.config;
in ''
${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@"
'';
};
perSystem = { pkgs, ... }: {
packages.vm = pkgs.writeShellApplication {
name = "vm";
text = let
host = inputs.self.nixosConfigurations.nix.config;
in ''
${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@"
'';
};
};
}