nichts/nyx/homes/notashelf/default.nix

53 lines
1.3 KiB
Nix
Raw Normal View History

2024-04-09 23:11:33 +02:00
{
self,
lib,
...
}: let
inherit (lib) mkDefault;
in {
imports = [
# imported home-manager modules
self.homeManagerModules.gtklock # a home-manager module for gtklock, gotta upstream it eventually
# home package sets
./packages
# programs and services that I use
./programs
./services
# declarative system and program themes (qt/gtk)
./themes
# things that don't fint anywhere else
./misc
];
config = {
home = {
username = "notashelf";
homeDirectory = "/home/notashelf";
extraOutputsToInstall = ["doc" "devdoc"];
# <https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion>
# I will personally strangle every moron who just puts nothing but "DONT CHANGE" next
# to this value
# NOTE: this is and should remain the version on which you have initiated your config
stateVersion = mkDefault "23.05";
};
manual = {
# the docs suck, so we disable them to save space
html.enable = false;
json.enable = false;
manpages.enable = true;
};
# let HM manage itself when in standalone mode
programs.home-manager.enable = true;
# reload system units when changing configs
systemd.user.startServices = mkDefault "sd-switch"; # or "legacy" if "sd-switch" breaks again
};
}