summaryrefslogtreecommitdiff
path: root/aigis.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-12-05 20:45:42 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-05 20:45:42 -0500
commitcbbda4d85df425834969f5ff3d33187e32fffe9e (patch)
tree71b598ad66f9225ae26d302bdc8b9785806f66e4 /aigis.scm
parent2ebebbc14583e59b28d86af6e8aabe431190d97f (diff)
Update aigis config.
Diffstat (limited to 'aigis.scm')
-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))))))))