mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-27 10:47:16 +08:00
redshift
This commit is contained in:
parent
be7ae1dc8b
commit
1ed4cc766e
7 changed files with 23 additions and 6 deletions
11
features/current-location.nix
Normal file
11
features/current-location.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
location = {
|
||||
# Quebec City
|
||||
latitude = 46.813359;
|
||||
longitude = -71.215796;
|
||||
};
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
./fonts.nix
|
||||
./touchpad-trackpoint.nix
|
||||
./autolock.nix
|
||||
./redshift.nix
|
||||
|
||||
# WMish things
|
||||
./xmonad
|
||||
|
|
|
|||
9
features/desktopish/redshift.nix
Normal file
9
features/desktopish/redshift.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
{ config, pkgs, ...}:
|
||||
|
||||
# Based on https://nixos.wiki/wiki/Redshift
|
||||
{
|
||||
services.redshift = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -7,6 +7,6 @@
|
|||
ddcutil
|
||||
|
||||
# This can control the laptop display.
|
||||
xorg.xbacklight
|
||||
brightnessctl
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
configurationNix
|
||||
|
||||
# Features common to all of my machines
|
||||
./features/current-location.nix
|
||||
./features/passwordstore.nix
|
||||
./features/syncthing.nix
|
||||
./features/protonvpn.nix
|
||||
|
|
|
|||
|
|
@ -47,9 +47,6 @@
|
|||
networking.networkmanager.enable = true;
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
|
|
|
|||
|
|
@ -41,8 +41,6 @@
|
|||
trustedUsers = [ "root" "srid" ];
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
|
||||
networking.hostName = "x1c7";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue