fix: sway autorun, zsh

This commit is contained in:
Kat Inskip 2026-01-30 22:02:24 -08:00
parent e0f2177863
commit 1ff3056d42
2 changed files with 14 additions and 4 deletions

View file

@ -18,7 +18,8 @@
#:use-module (gnu services desktop) #:use-module (gnu services desktop)
#:use-module (gnu services networking) #:use-module (gnu services networking)
#:use-module (gnu services ssh) #:use-module (gnu services ssh)
#:use-module (gnu services xorg)) #:use-module (gnu services xorg)
#:use-module (gnu packages shells))
(operating-system (operating-system
(locale "en_CA.utf8") (locale "en_CA.utf8")
@ -32,6 +33,7 @@
(comment "Kat Inskip") (comment "Kat Inskip")
(group "users") (group "users")
(home-directory "/home/kat") (home-directory "/home/kat")
(shell (file-append zsh "/bin/zsh"))
(supplementary-groups '("wheel" "netdev" "audio" "video"))) (supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts)) %base-user-accounts))
@ -42,6 +44,7 @@
(specification->package "wmenu") (specification->package "wmenu")
(specification->package "librewolf") (specification->package "librewolf")
(specification->package "neovim") (specification->package "neovim")
(specification->package "git")
(specification->package "foot")) %base-packages)) (specification->package "foot")) %base-packages))
;; Below is the list of system services. To search for available ;; Below is the list of system services. To search for available

View file

@ -12,10 +12,17 @@
xdisorg ; wl-clipboard xdisorg ; wl-clipboard
rust-apps) ; jujutsu rust-apps) ; jujutsu
(define sway-bar-status #~(string-append "while "
#$coreutils "/bin/date"
" +'%Y-%m-%d %X'; do sleep 1; done"))
(define sway-config (define sway-config
(sway-configuration (sway-configuration
(inherit %empty-sway-configuration) (inherit %empty-sway-configuration)
;;(bar TODO) (bar (sway-bar
(identifier 'bar0)
(position 'top)
(status-command sway-bar-status)))
;;(startup+reload-programs TODO) ;;(startup+reload-programs TODO)
;;(extra-content TODO) ;;(extra-content TODO)
(variables %sway-default-variables) (variables %sway-default-variables)
@ -25,7 +32,7 @@
grimshot grimshot
wl-clipboard) %sway-default-packages)) wl-clipboard) %sway-default-packages))
(modes %sway-default-modes) (modes %sway-default-modes)
(startup-programs %sway-default-startup-programs) ;(startup-programs %sway-default-startup-programs)
(inputs (list (sway-input (identifier "type:keyboard") (inputs (list (sway-input (identifier "type:keyboard")
(layout (keyboard-layout "us" #:options '("ctrl:nocaps")))))))) (layout (keyboard-layout "us" #:options '("ctrl:nocaps"))))))))
@ -38,7 +45,7 @@
;; Uncomment the shell you wish to use for your user: ;; Uncomment the shell you wish to use for your user:
;(service home-bash-service-type) ;(service home-bash-service-type)
;(service home-fish-service-type) ;(service home-fish-service-type)
;(service home-zsh-service-type) (service home-zsh-service-type)
(service home-sway-service-type sway-config) (service home-sway-service-type sway-config)