mirror of
https://github.com/chuangzhu/nixpkgs-gnome-mobile.git
synced 2025-01-27 05:18:37 +01:00
remove all gnome scopes
This commit is contained in:
parent
a6716c6dee
commit
5314726af5
2 changed files with 9 additions and 11 deletions
16
module.nix
16
module.nix
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
||||||
|
@ -13,14 +13,14 @@
|
||||||
[org.gnome.mutter]
|
[org.gnome.mutter]
|
||||||
dynamic-workspaces=true
|
dynamic-workspaces=true
|
||||||
'';
|
'';
|
||||||
extraGSettingsOverridePackages = [ pkgs.gnome.mutter ];
|
extraGSettingsOverridePackages = [ pkgs.mutter ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logind.powerKey = "ignore";
|
services.logind.powerKey = "ignore";
|
||||||
services.logind.powerKeyLongPress = "poweroff";
|
services.logind.powerKeyLongPress = "poweroff";
|
||||||
|
|
||||||
# Installed by default but not mobile friendly yet
|
# Installed by default but not mobile friendly yet
|
||||||
environment.gnome.excludePackages = with pkgs; with gnome; [
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
totem # Videos
|
totem # Videos
|
||||||
simple-scan # Document Scanner
|
simple-scan # Document Scanner
|
||||||
gnome-system-monitor
|
gnome-system-monitor
|
||||||
|
@ -33,10 +33,8 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Input method works, but these envvars must not be set, or the on-screen keyboard won't pop up.
|
# Input method works, but these envvars must not be set, or the on-screen keyboard won't pop up.
|
||||||
# GNOME got a builtin IBus support through IBus' D-Bus API, so these variables are not neccessary.
|
# GNOME has a builtin IBus support through IBus' D-Bus API, so these variables are not neccessary.
|
||||||
environment.variables = {
|
environment.extraInit = ''
|
||||||
GTK_IM_MODULE = lib.mkForce "";
|
unset GTK_IM_MODULE QT_IM_MODULE XMODIFIERS
|
||||||
QT_IM_MODULE = lib.mkForce "";
|
'';
|
||||||
XMODIFIERS = lib.mkForce "";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ pushd "$tmpdir"
|
||||||
new_version="unstable-$(git show -s --pretty='format:%cs')"
|
new_version="unstable-$(git show -s --pretty='format:%cs')"
|
||||||
commit_sha="$(git show -s --pretty='format:%H')"
|
commit_sha="$(git show -s --pretty='format:%H')"
|
||||||
popd
|
popd
|
||||||
update-source-version "gnome.gnome-shell" --file=overlay.nix "$new_version" --rev="$commit_sha"
|
update-source-version "gnome-shell" --file=overlay.nix "$new_version" --rev="$commit_sha"
|
||||||
|
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
git clone --bare --depth=1 --branch=mobile-shell https://gitlab.gnome.org/verdre/mobile-mutter.git "$tmpdir"
|
git clone --bare --depth=1 --branch=mobile-shell https://gitlab.gnome.org/verdre/mobile-mutter.git "$tmpdir"
|
||||||
|
@ -15,4 +15,4 @@ pushd "$tmpdir"
|
||||||
new_version="unstable-$(git show -s --pretty='format:%cs')"
|
new_version="unstable-$(git show -s --pretty='format:%cs')"
|
||||||
commit_sha="$(git show -s --pretty='format:%H')"
|
commit_sha="$(git show -s --pretty='format:%H')"
|
||||||
popd
|
popd
|
||||||
update-source-version "gnome.mutter" --file=overlay.nix "$new_version" --rev="$commit_sha"
|
update-source-version "mutter" --file=overlay.nix "$new_version" --rev="$commit_sha"
|
||||||
|
|
Loading…
Reference in a new issue