add back quadphone
This commit is contained in:
parent
1e5d3f18d3
commit
7667ee3d32
3 changed files with 133 additions and 3 deletions
1
modules/mobile/allow-broken.nix
Normal file
1
modules/mobile/allow-broken.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ nixpkgs.config.allowBroken = true; }
|
||||
1
modules/mobile/disable-man.nix
Normal file
1
modules/mobile/disable-man.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ documentation.man.generateCaches = false; }
|
||||
38
modules/mobile/phosh.nix
Normal file
38
modules/mobile/phosh.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
feedbackd.enable = true;
|
||||
calls.enable = true;
|
||||
firefox.package = pkgs.firefox-mobile;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
chatty
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"olm-3.2.16"
|
||||
];
|
||||
|
||||
networking.modemmanager.enable = true;
|
||||
|
||||
services = {
|
||||
geoclue2 = {
|
||||
enable = true;
|
||||
whitelistedAgents = [ "sm.puri.Phosh" ];
|
||||
appConfig."sm.puri.Phosh" = {
|
||||
isAllowed = true;
|
||||
isSystem = true;
|
||||
};
|
||||
};
|
||||
|
||||
xserver.desktopManager.phosh = {
|
||||
enable = true;
|
||||
group = "users";
|
||||
user = "quadradical";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.geoclue.extraGroups = [ "networkmanager" ];
|
||||
location.provider = "geoclue2";
|
||||
}
|
||||
Loading…
Reference in a new issue