mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 07:08:38 +01:00
399e43a723
This is part of merging the phone flake with the main nix-config flake.
24 lines
465 B
Nix
24 lines
465 B
Nix
{ self, pkgs, ... }:
|
|
|
|
let
|
|
inherit (builtins) attrValues;
|
|
in
|
|
{
|
|
imports = attrValues self.nixosModules;
|
|
nixpkgs.overlays = attrValues self.overlays;
|
|
home-manager.sharedModules = attrValues self.homeManagerModules;
|
|
environment.systemPackages = attrValues self.packages.${pkgs.system};
|
|
|
|
modules = {
|
|
system = {
|
|
mullvad = true;
|
|
hostName = "mobile-nixos";
|
|
stateVersion = "23.11";
|
|
};
|
|
|
|
desktop = {
|
|
phone = true;
|
|
};
|
|
};
|
|
}
|