Cleanup folder structure for services, systemd and configurations

This commit is contained in:
Daniel Siepmann 2022-02-03 09:10:38 +01:00
parent 654e91ab8b
commit 4ecb26bfed
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
4 changed files with 16 additions and 5 deletions

View file

@ -64,9 +64,9 @@
".agignore".source = ./home/files/agignore;
};
services.dunst = import ./home/configurations/dunst.nix;
services.dunst = import ./home/services/dunst.nix;
systemd.user.services.languagetool = import ./home/services/languagetool.nix {
systemd.user.services.languagetool = import ./home/systemd/languagetool.nix {
settings = {
port = "8081";
allow-origin = "*";

View file

@ -40,12 +40,23 @@ E.g. alter packages like patching.
The folder ``home`` is related to extras for home-manager.
It has the following sub folder:
``home/configurations``
Holds home-manager configuration for packages / services.
Each file corresponds to a single package.
``home/files``
Holds configuration files.
home-manager doesn't provide modules for all programs.
Those files can be loaded via ``biuiltins.readFile``
or linked via ``home.file.``.
``home/programs``
Holds home-manager `programs.` entries.
Each file corresponds to a single program.
Each file is loaded within ``home.nix``.
``home/services``
Holds home-manager `services.` entries.
Each file corresponds to a single service.
Each file is loaded within ``home.nix``.
``home/systemd``
Holds custom definitions for systemd services.
Each file corresponds to a single service.
Each file is loaded within ``home.nix``.