Remove redshift

This commit is contained in:
Oliver Davies 2025-04-05 09:00:00 +01:00
parent 236e626e9b
commit 553566ac19
3 changed files with 0 additions and 36 deletions

View file

@ -18,10 +18,6 @@
../../users/opdavies ../../users/opdavies
]; ];
nixosModules = {
redshift.enable = true;
};
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
boot = { boot = {

View file

@ -2,7 +2,6 @@
imports = [ imports = [
./cron.nix ./cron.nix
./interception-tools.nix ./interception-tools.nix
./redshift.nix
./sound.nix ./sound.nix
./udev.nix ./udev.nix
./xserver.nix ./xserver.nix

View file

@ -1,31 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.nixosModules.redshift;
in
{
options.nixosModules.redshift.enable = mkEnableOption "Enable redshift";
config = mkIf cfg.enable {
location = {
latitude = 51.48;
longitude = -3.17;
};
services.redshift = {
enable = true;
brightness = {
day = "1";
night = "1";
};
temperature = {
day = 5500;
night = 3700;
};
};
};
}