nix-config/hosts/phone/configuration.nix

52 lines
867 B
Nix
Raw Normal View History

{ self, pkgs, ... }:
2024-06-15 17:56:02 +02:00
let
inherit (builtins) attrValues;
2024-06-15 17:56:02 +02:00
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;
system = {
mullvad = true;
};
};
2024-06-15 17:56:02 +02:00
environment = {
sessionVariables = {
LIBGL_ALWAYS_SOFTWARE = "true";
2024-06-15 17:56:02 +02:00
};
};
programs = {
calls.enable = true;
};
networking = {
wireless.enable = false;
2024-06-15 18:07:24 +02:00
wireguard.enable = true;
};
2024-06-15 18:06:53 +02:00
services = {
openssh.enable = true;
};
2024-06-15 17:56:02 +02:00
powerManagement.enable = true;
}