mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 15:18:38 +01:00
09fe14d21d
Doesn't work in Phosh unfortunately. Hyprland would be ideal if we had time to make a keyboard that worked.
76 lines
1.1 KiB
Nix
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";
|
|
};
|
|
}
|