nix-config/hosts/phone/configuration.nix
Donovan Glover 4f9289a35c
meta: move mobile-nixos imports out of flake
This is part of making the flake easier to understand by separating
concerns a bit more.
2024-10-11 13:15:43 -04:00

50 lines
766 B
Nix

{ self, ... }:
let
inherit (builtins) attrValues;
in
{
imports = attrValues self.nixosModules ++ attrValues self.inputs.mobile-nixos.nixosModules;
nixpkgs = {
overlays = with self.overlays; [ phinger-cursors ];
config.permittedInsecurePackages = [
"olm-3.2.16"
];
};
home-manager.sharedModules = with self.homeModules; [
dconf
eza
fish
git
gpg
gtk
htop
kitty
librewolf
neovim
starship
xdg-user-dirs
xresources
];
modules = {
system = {
hostName = "mobile-nixos";
stateVersion = "23.11";
mullvad = true;
};
hardware.keyboardBinds = true;
phone.enable = true;
};
mobile.beautification = {
silentBoot = true;
splash = true;
};
}