summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aigis.scm29
1 files changed, 17 insertions, 12 deletions
diff --git a/aigis.scm b/aigis.scm
index 8dcd66e..46bdb82 100644
--- a/aigis.scm
+++ b/aigis.scm
@@ -18,10 +18,14 @@
;;
;; HTPC configuration.
-(use-modules (gnu)
+(use-modules (srfi srfi-1)
+ (gnu)
(gnu services))
-(use-service-modules desktop ssh xorg)
-(use-package-modules certs kodi)
+(use-service-modules desktop networking ssh xorg)
+(use-package-modules certs kodi rsync)
+
+(define (wicd-service? service)
+ (eq? (service-kind service) wicd-service-type))
(operating-system
(host-name "aigis")
@@ -46,14 +50,15 @@
(supplementary-groups '("wheel" "netdev" "audio"
"video" "cdrom"))
(home-directory "/home/dave"))))
- (packages (cons* nss-certs %base-packages))
+ (packages (cons* nss-certs rsync %base-packages))
(services
(let ((kodi-session #~(string-append #$kodi "/bin/kodi-standalone")))
- (cons (lsh-service #:initialize? #t)
- (modify-services %desktop-services
- (slim-service-type config =>
- (slim-configuration
- (inherit config)
- (auto-login? #t)
- (default-user "dave")
- (auto-login-session kodi-session))))))))
+ (cons* (static-networking-service "enp0s10" "192.168.1.222")
+ (lsh-service #:initialize? #t)
+ (modify-services (remove wicd-service? %desktop-services)
+ (slim-service-type config =>
+ (slim-configuration
+ (inherit config)
+ (auto-login? #t)
+ (default-user "dave")
+ (auto-login-session kodi-session))))))))