refactor(systemModules:services): enable if host.type != phone
This commit is contained in:
parent
ba2cbc18de
commit
4a8095f271
4 changed files with 35 additions and 7 deletions
12
system/modules/services/gvfs/default.nix
Normal file
12
system/modules/services/gvfs/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
host = config.systemModules.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf ( host.type != "phone") {
|
||||
services.gvfs = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue