Compare commits

...

2 commits

Author SHA1 Message Date
c7fc40674f fix: jj-config 2026-01-30 23:27:08 -08:00
1ff3056d42 fix: sway autorun, zsh 2026-01-30 23:27:07 -08:00
4 changed files with 27 additions and 6 deletions

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
home:
guix home reconfigure ./home.scm
guix:
guix system reconfigure ./config.scm

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

5
files/jj-config.toml Normal file
View file

@ -0,0 +1,5 @@
"$schema" = "https://jj-vcs.github.io/jj/latest/config-schema.json"
[user]
name = "Kat Inskip"
email = "kat@inskip.me"

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)
@ -50,7 +57,8 @@
(service home-xdg-configuration-files-service-type (service home-xdg-configuration-files-service-type
`(("gdb/gdbinit" ,%default-gdbinit) `(("gdb/gdbinit" ,%default-gdbinit)
("nano/nanorc" ,%default-nanorc)))) ("nano/nanorc" ,%default-nanorc)
("jj/config.toml" ,(local-file "files/jj-config.toml")))))
%base-home-services)))) %base-home-services))))