nix-config/hosts/phone/configuration.nix
Donovan Glover 99f6ba7e87
phone: Drop LIBGL_ALWAYS_SOFTWARE
This was used to get kitty to work however GNOME terminal is much faster
than kitty on the PinePhone and has touch support, making it superior
for daily use.
2024-06-24 20:13:36 -04:00

67 lines
1009 B
Nix

{ self, pkgs, ... }:
let
inherit (builtins) attrValues;
in
{
imports = attrValues self.nixosModules;
nixpkgs.overlays = attrValues {
inherit (self.overlays) phinger-cursors;
};
home-manager.sharedModules = attrValues {
inherit (self.homeManagerModules)
eza
fcitx
fish
git
gpg
gtk
htop
librewolf
neovim
starship
thunar
xdg-user-dirs
xresources
;
};
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;
};
};
programs = {
calls.enable = true;
};
networking = {
wireless.enable = false;
wireguard.enable = true;
};
services = {
openssh.enable = true;
};
powerManagement.enable = true;
}