talos: home: setup darkman

This commit is contained in:
Antoine Martin 2025-02-22 16:14:32 +01:00
parent ced4f2be27
commit 9045c7dcd4
2 changed files with 16 additions and 0 deletions

View file

@ -158,6 +158,8 @@
environment.systemPackages = [
pkgs.foot
# FIXME: is this needed?
pkgs.darkman
];
#programs.hyprland.enable = true;
@ -166,6 +168,13 @@
wrapperFeatures.gtk = true;
};
# TODO: These are overriden by files from
# ~/.config/xdg-desktop-portal/sway-portals.conf so they should be moved to
# home
xdg.portal.config.sway = {
"org.freedesktop.impl.portal.Settings" = "darkman";
};
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.

View file

@ -35,6 +35,13 @@ in {
night = 3500;
};
};
darkman = {
enable = true;
settings = {
lat = 48.9;
lng = 2.3;
};
};
};
home.packages = builtins.attrValues {