sxmo-utils: 2023-10-10 -> 2023-11-07
This commit is contained in:
@@ -234,6 +234,7 @@ in
|
|||||||
SXMO_DISABLE_CONFIGVERSION_CHECK = mkSettingsOpt "1" "allow omitting the configversion line from user-provided sxmo dotfiles";
|
SXMO_DISABLE_CONFIGVERSION_CHECK = mkSettingsOpt "1" "allow omitting the configversion line from user-provided sxmo dotfiles";
|
||||||
SXMO_UNLOCK_IDLE_TIME = mkSettingsOpt "300" "how many seconds of inactivity before locking the screen"; # lock -> screenoff happens 8s later, not configurable
|
SXMO_UNLOCK_IDLE_TIME = mkSettingsOpt "300" "how many seconds of inactivity before locking the screen"; # lock -> screenoff happens 8s later, not configurable
|
||||||
# SXMO_WM = mkSettingsOpt "sway" "sway or dwm. ordinarily initialized by sxmo_{x,w}init.sh";
|
# SXMO_WM = mkSettingsOpt "sway" "sway or dwm. ordinarily initialized by sxmo_{x,w}init.sh";
|
||||||
|
SXMO_NO_AUDIO = mkSettingsOpt "1" "don't start pipewire/pulseaudio in sxmo_hook_start.sh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
default = {};
|
default = {};
|
||||||
|
@@ -13,7 +13,6 @@
|
|||||||
, dmenu
|
, dmenu
|
||||||
, fetchFromSourcehut
|
, fetchFromSourcehut
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, gitUpdater
|
|
||||||
, gnugrep
|
, gnugrep
|
||||||
, gojq
|
, gojq
|
||||||
, grim
|
, grim
|
||||||
@@ -41,6 +40,7 @@
|
|||||||
, sway
|
, sway
|
||||||
, swayidle
|
, swayidle
|
||||||
, systemd
|
, systemd
|
||||||
|
, unstableGitUpdater
|
||||||
, wob
|
, wob
|
||||||
, wl-clipboard
|
, wl-clipboard
|
||||||
, wtype
|
, wtype
|
||||||
@@ -100,13 +100,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sxmo-utils";
|
pname = "sxmo-utils";
|
||||||
version = "unstable-2023-10-10";
|
version = "unstable-2023-11-07";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~mil";
|
owner = "~mil";
|
||||||
repo = "sxmo-utils";
|
repo = "sxmo-utils";
|
||||||
rev = "c33408abb560dac52de52d878840945c12a75a32";
|
rev = "1654cde76dcebd5383b47dbd503565e604c63cca";
|
||||||
hash = "sha256-VYUYN5S6qmsNpxMq7xFfgsGcbjIjqvuj36AG+NeMHTM=";
|
hash = "sha256-2Tdr1xAxyOJ+DxOQAZw+MVYCmqz6As5XmsnZzVv2M6A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@@ -116,14 +116,6 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-ZcUD2UWPM8PxGM9TBnGe8JCJgMC72OZYzctDf2o7Ub0=";
|
hash = "sha256-ZcUD2UWPM8PxGM9TBnGe8JCJgMC72OZYzctDf2o7Ub0=";
|
||||||
})
|
})
|
||||||
|
|
||||||
## not upstreamable
|
|
||||||
(fetchpatch {
|
|
||||||
# let NixOS manage the audio daemons (pulseaudio/pipewire)
|
|
||||||
name = "sxmo_hook_start: don't start audio daemons";
|
|
||||||
url = "https://git.uninsane.org/colin/sxmo-utils/commit/124f8fed85c3ff89ab45f1c21569bcc034d07693.patch";
|
|
||||||
hash = "sha256-GteXFZCuRpIXuYrEdEraIhzCm1b4vNJgh3Lmg+Qjeqk=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# TODO: send these upstream
|
# TODO: send these upstream
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "sxmo_hook_apps: add a few";
|
name = "sxmo_hook_apps: add a few";
|
||||||
@@ -223,7 +215,7 @@ stdenv.mkDerivation rec {
|
|||||||
passthru = {
|
passthru = {
|
||||||
inherit runtimeDeps;
|
inherit runtimeDeps;
|
||||||
providedSessions = (lib.optional supportSway "swmo") ++ (lib.optional supportDwm "sxmo");
|
providedSessions = (lib.optional supportSway "swmo") ++ (lib.optional supportDwm "sxmo");
|
||||||
updateScript = gitUpdater { };
|
updateScript = unstableGitUpdater { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Reference in New Issue
Block a user