nix-config/hosts/phone/configuration.nix
Donovan Glover 09fe14d21d
phone: Remove fcitx
Doesn't work in Phosh unfortunately. Hyprland would be ideal if we had
time to make a keyboard that worked.
2024-06-30 13:48:04 -04:00

76 lines
1.1 KiB
Nix

{ self, pkgs, lib, ... }:
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
fish
git
gpg
gtk
htop
librewolf
neovim
starship
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;
};
services.pipewire.enable = lib.mkForce false;
networking = {
wireless.enable = false;
wireguard.enable = true;
};
services = {
openssh.enable = true;
};
powerManagement = {
enable = true;
cpufreq = rec {
min = 648000;
max = min;
};
cpuFreqGovernor = "powersave";
};
}