-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1bdd475
commit 6f06a1a
Showing
8 changed files
with
202 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
config, | ||
lib, | ||
namespace, | ||
... | ||
}: | ||
let | ||
inherit (lib) mkIf; | ||
inherit (lib.${namespace}) mkBoolOpt; | ||
|
||
cfg = config.${namespace}.programs.graphical.addons.uwsm; | ||
in | ||
{ | ||
options.${namespace}.programs.graphical.addons.uwsm = { | ||
enable = mkBoolOpt false "Whether or not to enable uwsm"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
programs.uwsm.enable = true; | ||
}; | ||
} |
2 changes: 0 additions & 2 deletions
2
modules/nixos/programs/graphical/addons/xdg-portal/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{ | ||
config, | ||
inputs, | ||
lib, | ||
pkgs, | ||
system, | ||
namespace, | ||
... | ||
}: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
cmake, | ||
ninja, | ||
qt6, | ||
pkg-config, | ||
hyprlang, | ||
}: | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "hyprland-qt-support"; | ||
version = "0.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hyprwm"; | ||
repo = "hyprland-qt-support"; | ||
tag = "v${finalAttrs.version}"; | ||
hash = "sha256-+uZovj+X0a28172y0o0BvgGXyZLpKPbG03sVlCiSrWc="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
cmake | ||
ninja | ||
pkg-config | ||
qt6.wrapQtAppsHook | ||
]; | ||
|
||
buildInputs = [ | ||
qt6.qtbase | ||
qt6.qtdeclarative | ||
qt6.qtsvg | ||
qt6.qtwayland | ||
hyprlang | ||
]; | ||
|
||
cmakeFlags = [ | ||
(lib.cmakeFeature "INSTALL_QML_PREFIX" qt6.qtbase.qtQmlPrefix) | ||
]; | ||
|
||
meta = { | ||
description = "hyprland-qt-support"; | ||
homepage = "https://github.com/hyprwm/hyprland-qt-support"; | ||
license = lib.licenses.bsd3; | ||
platforms = lib.platforms.linux; | ||
maintainers = lib.teams.hyprland.members; | ||
}; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
cmake, | ||
pkg-config, | ||
fetchFromGitHub, | ||
hyprland-qt-support, | ||
hyprutils, | ||
kdePackages, | ||
polkit, | ||
qt6, | ||
}: | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "hyprpolkitagent"; | ||
version = "0.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hyprwm"; | ||
repo = "hyprpolkitagent"; | ||
tag = "v${finalAttrs.version}"; | ||
hash = "sha256-K1nSPFlh5VBWNagcaZ/157gfifAXTH8lzeyfYt/UEX8="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
cmake | ||
pkg-config | ||
qt6.wrapQtAppsHook | ||
]; | ||
|
||
buildInputs = [ | ||
hyprland-qt-support | ||
hyprutils | ||
kdePackages.kirigami-addons | ||
kdePackages.polkit-qt-1 | ||
polkit | ||
qt6.qtbase | ||
qt6.qtsvg | ||
qt6.qtwayland | ||
]; | ||
|
||
meta = { | ||
description = "Polkit authentication agent written in QT/QML"; | ||
homepage = "https://github.com/hyprwm/hyprpolkitagent"; | ||
license = lib.licenses.bsd3; | ||
maintainers = lib.teams.hyprland.members; | ||
mainProgram = "hyprpolkitagent"; | ||
platforms = lib.platforms.linux; | ||
}; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
cmake, | ||
qt6, | ||
pkg-config, | ||
hyprutils, | ||
pciutils, | ||
hyprland-qt-support, | ||
}: | ||
let | ||
inherit (lib.strings) makeBinPath; | ||
in | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "hyprsysteminfo"; | ||
version = "0.1.3"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hyprwm"; | ||
repo = "hyprsysteminfo"; | ||
tag = "v${finalAttrs.version}"; | ||
hash = "sha256-KDxT9B+1SATWiZdUBAQvZu17vk3xmyXcw2Zy56bdWbY="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
cmake | ||
pkg-config | ||
qt6.wrapQtAppsHook | ||
]; | ||
|
||
buildInputs = [ | ||
qt6.qtbase | ||
qt6.qtdeclarative | ||
qt6.qtsvg | ||
qt6.qtwayland | ||
hyprutils | ||
hyprland-qt-support | ||
]; | ||
|
||
preFixup = '' | ||
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [ pciutils ]}") | ||
''; | ||
|
||
meta = { | ||
description = "A tiny qt6/qml application to display information about the running system"; | ||
homepage = "https://github.com/hyprwm/hyprsysteminfo"; | ||
license = lib.licenses.bsd3; | ||
maintainers = lib.teams.hyprland.members; | ||
mainProgram = "hyprsysteminfo"; | ||
platforms = lib.platforms.linux; | ||
}; | ||
}) |