nix-config/phone/configuration.nix
Donovan Glover e14045e7d4
phone: Import remaining modules from nix-config
This seems to work and now includes the containers module.
2024-06-20 13:28:40 -04:00

53 lines
904 B
Nix

{ self, pkgs, ... }:
let
inherit (builtins) attrValues;
in
{
imports = attrValues self.nixosModules;
nixpkgs.overlays = attrValues self.overlays;
home-manager.sharedModules = attrValues self.homeManagerModules;
environment.systemPackages = attrValues self.packages.${pkgs.system};
modules = {
system = {
hostName = "mobile-nixos";
stateVersion = "23.11";
phone = true;
};
desktop = {
phone = true;
phosh = true;
};
hardware = {
keyboardBinds = true;
bluetooth = true;
phone = true;
sensor = true;
};
};
environment = {
sessionVariables = {
LIBGL_ALWAYS_SOFTWARE = "true";
};
};
programs = {
calls.enable = true;
};
networking = {
wireless.enable = false;
wireguard.enable = true;
};
services = {
openssh.enable = true;
};
powerManagement.enable = true;
}