Compare commits

...

2 Commits

Author SHA1 Message Date
Skylar Hill 0c2208ec7e Add rust build tools
As much as I wanted to avoid using cargo and just stick to guix, Cargo
is just really nice and also `guix shell rust-rand` with rustc didn't
actually work
2023-11-14 10:24:08 -06:00
Skylar Hill c2d4d6f864 Move syncthing service to system config
Apparently home-syncthing-service-type is busted...
2023-11-14 10:23:36 -06:00
2 changed files with 23 additions and 16 deletions

View File

@ -12,18 +12,18 @@
(define cataclysm-dda-xdg
(package
(inherit cataclysm-dda)
(name "cataclysm-dda-xdg")
(arguments
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
"USE_XDG_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
"LOCALIZE=1" "LANGUAGES=all")
#:phases
#~(modify-phases %standard-phases
(delete 'configure))
#:tests? #f))))
(inherit cataclysm-dda)
(name "cataclysm-dda-xdg")
(arguments
(list
#:make-flags
#~(list (string-append "PREFIX=" #$output)
"USE_XDG_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
"LOCALIZE=1" "LANGUAGES=all")
#:phases
#~(modify-phases %standard-phases
(delete 'configure))
#:tests? #f))))
(home-environment
;; Below is the list of packages that will show up in your
@ -44,6 +44,7 @@
"emacs-ligature"
"emacs-magit"
"emacs-paredit"
"emacs-rustic"
"emacs-sly"
"emacs-swiper"
"emacs-which-key"
@ -88,6 +89,9 @@
"picom"
"pinentry-qt"
"python"
"rust"
"rust-analyzer"
"rust-cargo"
"rofi-wayland"
"sbcl"
"skribilo"
@ -133,5 +137,4 @@
("waybar" ,(local-file "./waybar" #:recursive? #t))
("kitty/kitty.conf" ,(local-file "./kitty.conf"))
("fish" ,(local-file "./fish" #:recursive? #t))
("rofi/config.rasi" ,(local-file "./rofi"))))
(service home-syncthing-service-type))))
("rofi/config.rasi" ,(local-file "./rofi")))))))

View File

@ -13,7 +13,7 @@
(nongnu packages linux)
(gnu packages shells)
(gnu packages cups))
(use-service-modules cups desktop networking ssh xorg audio)
(use-service-modules audio cups desktop networking ssh syncthing xorg)
(operating-system
(kernel linux)
@ -54,7 +54,11 @@
(web-interface? #t)
(extensions
(list brlaser cups-filters epson-inkjet-printer-escpr
foomatic-filters hplip splix)))))
foomatic-filters hplip splix))))
(service syncthing-service-type
(syncthing-configuration
(user "skylar")
(home "/home/skylar"))))
;; This is the default list of services we
;; are appending to.