NixOS / nixos-hardware

A collection of NixOS modules covering hardware quirks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop profile?

l0b0 opened this issue · comments

Would it make sense to have a desktop profile in addition to the laptop one? For example, I ended up adding the following to stop GNOME from alerting that it was going to put my machine to sleep when inactive, despite never actually doing so:

{config}: {
  config.programs.dconf.profiles.user.databases = [
    {
      settings = {
        "org/gnome/settings-daemon/plugins/power" = {
          sleep-inactive-ac-type = "nothing";
        };
      };
    }
  ];
}

Anything "desktop" would likely end-up too opinionated for this repo, I believe.

(And for your specific example, there may be some complex legal/compliance issues with defaults not putting systems to sleep in some locales...)