feat(droid): add nix-on-droid support and vega host

This commit is contained in:
tux
2026-08-11 18:59:16 +05:30
parent 0f842359b3
commit 93dcaeb05e
8 changed files with 406 additions and 0 deletions

32
modules/droid/core/hm.nix Normal file
View File

@@ -0,0 +1,32 @@
{ inputs, config, ... }:
{
flake.modules.droid.core =
{
hostName,
userName,
userEmail,
...
}:
{
home-manager = {
backupFileExtension = "bak";
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit
inputs
hostName
userName
userEmail
;
};
config = {
imports = [
config.flake.modules.homeManager.shell
config.flake.modules.homeManager.${hostName}
];
};
};
};
}

View File

@@ -0,0 +1,7 @@
{
flake.modules.droid.core = {
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
};
}