mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Remove geoclue and gammastep modules
This commit is contained in:
parent
9ea6397786
commit
517310cf86
5 changed files with 0 additions and 43 deletions
|
|
@ -27,7 +27,6 @@
|
|||
hypridle.enable = true;
|
||||
waybar.enable = true;
|
||||
cliphist.enable = true;
|
||||
gammastep.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
{ config, lib, ... }@moduleArgs:
|
||||
{
|
||||
options.custom.services.gammastep.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.services.gammastep.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion =
|
||||
let
|
||||
inherit (moduleArgs.osConfig.services) geoclue2;
|
||||
in
|
||||
geoclue2.enable or true && geoclue2.appConfig.gammastep.isAllowed or true;
|
||||
message = "Gammastep requires Geoclue2";
|
||||
}
|
||||
];
|
||||
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
provider = "geoclue2";
|
||||
settings.general.adjustment-method = "wayland";
|
||||
|
||||
temperature.night = 2700;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.custom.services.geoclue.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.services.geoclue.enable {
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
|
||||
appConfig.gammastep = {
|
||||
isAllowed = true;
|
||||
isSystem = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue