Attempt Android support
This commit is contained in:
parent
97e0076656
commit
ad3c035569
5 changed files with 60 additions and 9 deletions
17
hosts/droid/default.nix
Normal file
17
hosts/droid/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, android, ... }:
|
||||
{
|
||||
imports = [
|
||||
./users
|
||||
../../modules/system
|
||||
android.nixosModules.avf
|
||||
];
|
||||
|
||||
networking.hostName = "droid";
|
||||
|
||||
avf.defaultUser = config.sysusers.main;
|
||||
|
||||
system = {
|
||||
desktop.enable = true;
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
}
|
4
hosts/droid/users/default.nix
Normal file
4
hosts/droid/users/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [ ./main ];
|
||||
}
|
9
hosts/droid/users/main/default.nix
Normal file
9
hosts/droid/users/main/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
home-manager.users."${config.sysusers.main}".home = {
|
||||
desktop.enable = true;
|
||||
gaming.enable = true;
|
||||
production.enable = true;
|
||||
stateVersion = lib.mkForce config.system.stateVersion;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue