Remove redshift
This commit is contained in:
parent
236e626e9b
commit
553566ac19
3 changed files with 0 additions and 36 deletions
|
@ -18,10 +18,6 @@
|
||||||
../../users/opdavies
|
../../users/opdavies
|
||||||
];
|
];
|
||||||
|
|
||||||
nixosModules = {
|
|
||||||
redshift.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue