mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 03:34:46 +01:00
4f9289a35c
This is part of making the flake easier to understand by separating concerns a bit more.
50 lines
766 B
Nix
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;
|
|
};
|
|
}
|