services: nix: Provide nix commands.
* gnu/services/nix.scm (nix-service-type): Extend profile-service-type to provide nix commands. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>master
parent
1a29027356
commit
db65d7447c
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
|
;;; Copyright © 2020 Peng Mei Yu <i@pengmeiyu.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -134,7 +135,9 @@ GID."
|
||||||
(extensions
|
(extensions
|
||||||
(list (service-extension shepherd-root-service-type nix-shepherd-service)
|
(list (service-extension shepherd-root-service-type nix-shepherd-service)
|
||||||
(service-extension account-service-type nix-accounts)
|
(service-extension account-service-type nix-accounts)
|
||||||
(service-extension activation-service-type nix-activation)))
|
(service-extension activation-service-type nix-activation)
|
||||||
|
(service-extension profile-service-type
|
||||||
|
(compose list nix-configuration-package))))
|
||||||
(description "Run the Nix daemon.")
|
(description "Run the Nix daemon.")
|
||||||
(default-value (nix-configuration))))
|
(default-value (nix-configuration))))
|
||||||
|
|
||||||
|
|
Reference in New Issue