mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
hypr*: use packages from unstable instead of stable
This commit is contained in:
parent
e57e1879b5
commit
40ca842d8b
3 changed files with 24 additions and 4 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
{ config, lib, ... }@moduleArgs:
|
{
|
||||||
|
config,
|
||||||
|
pkgs-unstable,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}@moduleArgs:
|
||||||
let
|
let
|
||||||
cfg = config.custom.programs.hyprlock;
|
cfg = config.custom.programs.hyprlock;
|
||||||
in
|
in
|
||||||
|
|
@ -13,6 +18,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs-unstable.hyprlock;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
general.hide_cursor = true;
|
general.hide_cursor = true;
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,16 @@
|
||||||
{ config, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs-unstable,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
options.custom.services.hypridle.enable = lib.mkEnableOption "";
|
options.custom.services.hypridle.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.services.hypridle.enable {
|
config = lib.mkIf config.custom.services.hypridle.enable {
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs-unstable.hypridle;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,17 @@
|
||||||
{ config, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs-unstable,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
options.custom.de.hyprland.enable = lib.mkEnableOption "";
|
options.custom.de.hyprland.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.custom.de.hyprland.enable {
|
config = lib.mkIf config.custom.de.hyprland.enable {
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs-unstable.hyprland;
|
||||||
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue