> Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. https://github.com/jonls/redshift https://nixos.wiki/wiki/Redshift
71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
{ inputs, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./hardware.nix
|
|
./programs.nix
|
|
./secrets.nix
|
|
./services
|
|
./users.nix
|
|
|
|
./modules/docker.nix
|
|
|
|
../common
|
|
../../users/opdavies
|
|
];
|
|
|
|
nixosModules = {
|
|
autorandr.enable = true;
|
|
dwm.enable = true;
|
|
gaming.enable = true;
|
|
redshift.enable = true;
|
|
st.enable = true;
|
|
thunar.enable = true;
|
|
peek.enable = true;
|
|
};
|
|
|
|
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
|
|
boot = {
|
|
loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
configurationLimit = 10;
|
|
};
|
|
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
systemd.extraConfig = ''
|
|
DefaultTimeoutStopSec=10s
|
|
'';
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
security = {
|
|
polkit.enable = true;
|
|
rtkit.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
bc # Needed for ./displayselect script.
|
|
gtypist
|
|
newsboat
|
|
pam_gnupg
|
|
rclone
|
|
rclone-browser
|
|
sxiv
|
|
ttyper
|
|
yt-dlp
|
|
];
|
|
|
|
zramSwap.enable = true;
|
|
|
|
networking.hosts = {
|
|
"192.168.1.116" = [ "nixedo" ];
|
|
};
|
|
}
|