mirror of https://codeberg.org/anemofilia/zero
Compare commits
7 Commits
5c7d9c2a16
...
e7af051da4
Author | SHA1 | Date |
---|---|---|
Luis Guilherme Coelho | e7af051da4 | |
Luis Guilherme Coelho | 0e631d55f7 | |
Luis Guilherme Coelho | 102c542180 | |
Luis Guilherme Coelho | 6167d59e70 | |
Luis Guilherme Coelho | f96a4a3808 | |
Luis Guilherme Coelho | 2a12b1f930 | |
Luis Guilherme Coelho | 114595e476 |
|
@ -231,6 +231,9 @@
|
|||
(!network . ,(format #f "doas herd restart networking ~
|
||||
&& doas herd restart wpa-supplicant"))
|
||||
|
||||
#|Pass|#
|
||||
(!pass . "pass show % | wl-copy")
|
||||
|
||||
#|Processes|#
|
||||
(tf . "setsid -f % >/dev/null 2>&1 & disown")
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
escape() {
|
||||
printf "%s" "$1" | sed 's#\#\\#g'
|
||||
}
|
||||
|
||||
notify-send --urgency=normal --expire-time=0 --category=Mail "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"
|
||||
|
||||
mpv ~/.guix-home/profile/share/sounds/freedesktop/stereo/complete.oga
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
read -p 'senpai password: '
|
|
@ -0,0 +1,13 @@
|
|||
address chat.sr.ht
|
||||
nickname anemofilia
|
||||
password-cmd pass show senpai/password
|
||||
highlight anemofilia: anemofilia, radix saayix cargo2guix misako
|
||||
channel "#coreboot" "#fossandcrafts" "#fsf" "#gnu" "#guix" "#guile" "#hurd" "#ibmthinkpad" "#kakoune" "#lisp" "#lobsters" "#scheme" "#spritely" "#savannah" "#whereiseveryone"
|
||||
on-highlight-path /home/radio/.config/senpai/scripts/on-highlight.sh
|
||||
tls true
|
||||
typings false
|
||||
mouse true
|
||||
pane-widths {
|
||||
nicknames 20
|
||||
channels 20
|
||||
}
|
|
@ -23,7 +23,6 @@
|
|||
#|GNU services|#
|
||||
#|•|# #:use-module (gnu services)
|
||||
#|A|# #:use-module (gnu services admin)
|
||||
#:use-module (gnu services avahi)
|
||||
#|B|# #:use-module ((gnu services base) #:hide (greetd-service-type))
|
||||
#|D|# #:use-module (gnu services dbus)
|
||||
#:use-module (gnu services desktop)
|
||||
|
@ -122,7 +121,8 @@
|
|||
|
||||
(kernel linux-libre-6.11)
|
||||
(kernel-arguments
|
||||
(cons* "modprobe.blacklist=usbmouse,usbkbd,pcspkr"
|
||||
(cons* "resume=/swap/swapfile"
|
||||
"modprobe.blacklist=usbmouse,usbkbd,pcspkr"
|
||||
"thinkpad_acpi.fan_control=1"
|
||||
(filter (negate ((on disjoin
|
||||
(partial partial string-prefix?))
|
||||
|
@ -132,7 +132,12 @@
|
|||
(file-systems
|
||||
(append file-system:volumes
|
||||
file-system:persistent-directories))
|
||||
|
||||
(swap-devices
|
||||
(list (swap-space
|
||||
(target "/swap/swapfile")
|
||||
(dependencies
|
||||
(filter (file-system-mount-point-predicate "/swap")
|
||||
file-systems)))))
|
||||
(users
|
||||
(cons* user:radio
|
||||
user:root
|
||||
|
@ -204,16 +209,10 @@
|
|||
#|IPC services|#
|
||||
(service dbus-root-service-type)
|
||||
|
||||
#|Avahi service|#
|
||||
(service avahi-service-type
|
||||
(avahi-configuration
|
||||
(wide-area? #t)))
|
||||
|
||||
#|Guix services|#
|
||||
(service guix-service-type
|
||||
(guix-configuration
|
||||
(build-accounts 16)
|
||||
(discover? #t)
|
||||
(authorized-keys
|
||||
(cons* substitute-key:genenetwork.pub
|
||||
substitute-key:inria.pub
|
||||
|
@ -284,6 +283,7 @@
|
|||
#|Memory management services|#
|
||||
(service zram-device-service-type
|
||||
(zram-device-configuration
|
||||
(priority 100)
|
||||
(size (* 2 (ram-total)))
|
||||
(compression-algorithm 'lz4)))
|
||||
|
||||
|
@ -303,7 +303,7 @@
|
|||
(simple-service 'persistent-files
|
||||
special-files-service-type
|
||||
(map (juxt identity
|
||||
(partial string-append "/gnu/persist/"))
|
||||
(partial string-append "/gnu/persist"))
|
||||
file-system:persistent-files))
|
||||
|
||||
#|Sysctl services|#
|
||||
|
|
|
@ -112,6 +112,17 @@
|
|||
(needed-for-boot? #t)
|
||||
(options "mode=0755"))
|
||||
|
||||
#|swap|#
|
||||
(file-system
|
||||
(device partition:guix)
|
||||
(type "btrfs")
|
||||
(mount-point "/swap")
|
||||
(check? #f)
|
||||
(needed-for-boot? #t)
|
||||
(options (format #f "subvol=@swap,~
|
||||
discard=async,~
|
||||
ssd")))
|
||||
|
||||
#|home|#
|
||||
(file-system
|
||||
(device partition:guix)
|
||||
|
@ -139,8 +150,7 @@
|
|||
(check? #f)
|
||||
(flags '(no-atime bind-mount))))
|
||||
`("/etc/guix"
|
||||
"/etc/ssh"
|
||||
"/etc/wireguard")))
|
||||
"/etc/ssh")))
|
||||
|
||||
(define persistent-files
|
||||
(list "/etc/machine-id"
|
||||
|
|
Loading…
Reference in New Issue