mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
added cups and changed avahi config. added .local name res as well
This commit is contained in:
parent
7cbc4ab3f8
commit
d81001a4a1
1 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
#:use-module (nongnu packages linux)
|
||||
#:use-module (gnu system setuid)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages avahi)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (gnu packages shells)
|
||||
#:use-module (guix build-system trivial)
|
||||
|
@ -22,6 +23,7 @@
|
|||
#:use-module (gnu services nix)
|
||||
#:use-module (gnu services sound)
|
||||
#:use-module (gnu services docker)
|
||||
#:use-module (gnu services avahi)
|
||||
#:use-module (gnu services virtualization))
|
||||
|
||||
; Define package that installs my root ca public keys
|
||||
|
@ -119,6 +121,7 @@
|
|||
;"waybar"
|
||||
"gnupg"
|
||||
"light"
|
||||
"avahi"
|
||||
"mako"
|
||||
"grim"
|
||||
"grimblast"
|
||||
|
@ -153,6 +156,14 @@
|
|||
;; record as a second argument to 'service' below.
|
||||
(service openssh-service-type)
|
||||
(service pcscd-service-type)
|
||||
(service cups-service-type
|
||||
(cups-configuration
|
||||
(web-interface? #t)))
|
||||
;; Avahi is only present for CUPS to support "automagic" printing
|
||||
(service avahi-service-type
|
||||
(avahi-configuration
|
||||
(publish? #f) ;; do not advertise this machine
|
||||
(publish-workstation? #f))) ;; do not advertise, I want this to be as silent as possible
|
||||
(service docker-service-type)
|
||||
(service nix-service-type)
|
||||
(service libvirt-service-type
|
||||
|
@ -186,8 +197,10 @@
|
|||
(udev-configuration-rules config)))))
|
||||
(delete pulseaudio-service-type)
|
||||
(delete gdm-service-type)
|
||||
(delete avahi-service-type)
|
||||
;(delete xorg-server-service-type)
|
||||
(delete alsa-service-type) )))
|
||||
(name-service-switch %mdns-host-lookup-nss) ;; Enable .local lookup
|
||||
(setuid-programs
|
||||
(append (list (file-like->setuid-program
|
||||
(file-append
|
||||
|
|
Loading…
Reference in a new issue