mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31: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
|
|
@ -23,7 +23,6 @@
|
||||||
services = {
|
services = {
|
||||||
gc.enable = true;
|
gc.enable = true;
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
geoclue.enable = true;
|
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
wlan.enable = true;
|
wlan.enable = true;
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
geoclue.enable = true;
|
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@
|
||||||
hypridle.enable = true;
|
hypridle.enable = true;
|
||||||
waybar.enable = true;
|
waybar.enable = true;
|
||||||
cliphist.enable = true;
|
cliphist.enable = true;
|
||||||
gammastep.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
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