File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 92
92
YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY=true
93
93
'' ;
94
94
in mkIf cfg . notify {
95
- sockets . ${ serviceName } = {
96
- description =
97
- "Unix socket activation for YubiKey touch detector service" ;
98
- socketConfig = {
99
- ListenStream = "%t/${ serviceName } .socket" ;
100
- RemoveOnStop = true ;
101
- } ;
102
- wantedBy = [ "sockets.target" ] ;
103
- } ;
104
95
services . ${ serviceName } = {
105
96
description = "Detects when your YubiKey is waiting for a touch" ;
106
97
requires = [ "${ serviceName } .socket" ] ;
@@ -112,6 +103,16 @@ in {
112
103
requiredBy = [ "default.target" ] ;
113
104
partOf = [ "${ serviceName } .socket" ] ;
114
105
} ;
106
+
107
+ sockets . ${ serviceName } = {
108
+ description =
109
+ "Unix socket activation for YubiKey touch detector service" ;
110
+ socketConfig = {
111
+ ListenStream = "%t/${ serviceName } .socket" ;
112
+ RemoveOnStop = true ;
113
+ } ;
114
+ wantedBy = [ "sockets.target" ] ;
115
+ } ;
115
116
} ;
116
117
} ;
117
118
}
You can’t perform that action at this time.
0 commit comments