redshift and stuff

This commit is contained in:
Bad 2021-04-09 21:20:58 +02:00
parent 621cab576f
commit 65f1230f38
3 changed files with 18 additions and 0 deletions

View file

@ -2,6 +2,18 @@
{ {
xdg.portal.enable = true; xdg.portal.enable = true;
services.geoclue2.enable = true;
location.provider = "geoclue2";
services.redshift = {
enable = true;
# Redshift with wayland support isn't present in nixos-19.09 atm. You have to cherry-pick the commit from https://github.com/NixOS/nixpkgs/pull/68285 to do that.
package = pkgs.redshift-wlr;
brightness.night = "0.75";
extraOptions = [
"-p redshift-wlr"
];
};
sound.enable = true; sound.enable = true;

View file

@ -7,4 +7,5 @@
libreoffice libreoffice
gimp gimp
]; ];
services.dbus.packages = with pkgs; [ gnome3.dconf ];
} }

View file

@ -2,9 +2,14 @@
{ {
home-manager.users.mae = { home-manager.users.mae = {
imports = [ ../profiles/git ]; imports = [ ../profiles/git ];
home.packages = with pkgs; [
arc-theme
];
home.sessionVariables = { home.sessionVariables = {
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share";
}; };
gtk.theme.name = "arc-dark";
programs.zsh = { programs.zsh = {
enable = true; enable = true;
zplug = { zplug = {