mirror of
https://github.com/zoriya/home-manager.git
synced 2026-06-07 12:15:34 +00:00
systemd: name slice unit correctly
This commit is contained in:
+4
-4
@@ -125,9 +125,9 @@ in {
|
||||
|
||||
slices = mkOption {
|
||||
default = { };
|
||||
type = unitType "slices";
|
||||
description = unitDescription "slices";
|
||||
example = unitExample "Slices";
|
||||
type = unitType "slice";
|
||||
description = unitDescription "slice";
|
||||
example = unitExample "Slice";
|
||||
};
|
||||
|
||||
sockets = mkOption {
|
||||
@@ -263,7 +263,7 @@ in {
|
||||
(mkIf (pkgs.stdenv.isLinux && config.home.username != "root") {
|
||||
xdg.configFile = mkMerge [
|
||||
(lib.listToAttrs ((buildServices "service" cfg.services)
|
||||
++ (buildServices "slices" cfg.slices)
|
||||
++ (buildServices "slice" cfg.slices)
|
||||
++ (buildServices "socket" cfg.sockets)
|
||||
++ (buildServices "target" cfg.targets)
|
||||
++ (buildServices "timer" cfg.timers)
|
||||
|
||||
Reference in New Issue
Block a user