first commit

This commit is contained in:
Leo Alho 2026-07-25 16:13:15 +03:00
commit b94923a310
7 changed files with 189 additions and 0 deletions

10
channels.scm Normal file
View file

@ -0,0 +1,10 @@
(cons* (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
;; Enable signature verification:
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
%default-channels)

1
current Symbolic link
View file

@ -0,0 +1 @@
/var/guix/profiles/per-user/leo/current-guix

35
files/.tmux.conf Normal file
View file

@ -0,0 +1,35 @@
#Add a mapping for reloading the conf file
bind r source-file ~/.tmux.conf \; display-message "RELOADING CONFIGURATION FILE…"
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
set -g status-style bg=white,fg=black
set -g window-active-style bg=black
set -g window-style bg=#212121
set -g pane-border-style fg=gray
set -g pane-border-lines heavy
set -g pane-active-border-style fg=yellow
# set -g pane-border-lines double
set -g pane-border-status bottom
set -g pane-border-format ''
set -g window-status-current-format '[#I:#W]'
set -g window-status-format '#I:#W'
set -g window-status-current-style fg=yellow
set-option -g status-right ""
set-option -g status-left ""
set -g status-style bg=default
bind-key H display-popup -E "htop"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "~/Documents"

49
files/alacritty.toml Normal file
View file

@ -0,0 +1,49 @@
[terminal.shell]
program = "/run/current-system/profile/bin/bash"
args = [ "-l", "-c", "tmux attach || tmux" ]
# [general]
# import = [
# "~/.config/alacritty/themes/dayfox.toml"
#]
[window]
# opacity = 0.85
decorations = "None"
[window.padding]
x = 10
y = 10
# [colors.primary]
# background = "#000000"
# [bell]
# command = { program = "paplay", args = ["/usr/share/sounds/freedesktop/stereo/message.oga"] }
[font]
size = 11
# [font.bold]
# family = "SpaceMono Nerd Font Mono"
# style = "Bold"
# [font.bold_italic]
# family = "SpaceMono Nerd Font Mono"
# style = "Bold Italic"
# [font.italic]
# family = "SpaceMono Nerd Font Mono"
# style = "Italic"
# [font.normal]
# family = "SpaceMono Nerd Font Mono"
# style = "Regular"
[[hints.enabled]]
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001f\u007f-\u009f<>\"\\s{-}\\^⟨⟩`]+"
command = "xdg-open"
post_processing = true
mouse = { enabled = true, mods = "Control" }
binding = { key = "U", mods = "Control|Shift" }

5
files/init.lua Normal file
View file

@ -0,0 +1,5 @@
vim.opt.number = true
vim.opt.swapfile = true
vim.opt.autoindent = true
vim.opt.shiftwidth = 4
vim.opt.confirm = true

46
files/tmux.conf Normal file
View file

@ -0,0 +1,46 @@
#Add a mapping for reloading the conf file
bind r source-file ~/.tmux.conf \; display-message "RELOADING CONFIGURATION FILE…"
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
set -g status-style bg=white,fg=black
set -g window-active-style bg=black
set -g window-style bg=#212121
set -g pane-border-style fg=gray
set -g pane-border-lines heavy
set -g pane-active-border-style fg=yellow
# set -g pane-border-lines double
set -g pane-border-status bottom
set -g pane-border-format ''
set -g window-status-current-format '[#I:#W]'
set -g window-status-format '#I:#W'
set -g window-status-current-style fg=yellow
# List of plugins
# set -g @plugin 'tmux-plugins/tpm'
set-option -g status-right ""
set-option -g status-left ""
set -g status-style bg=default
# set-window-option -g visual-bell on
bind-key H display-popup -E "htop"
# bind-key N display-popup "~/go/bin/klod"
# bind-key N display-popup -E 'tmux new-session -A -s scratch ~/go/bin/klod \; set status off'
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "~/Documents"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run '~/.tmux/plugins/tpm/tpm'

43
home.scm Normal file
View file

@ -0,0 +1,43 @@
(define-module (guix-home-config)
#:use-module (gnu home)
#:use-module (gnu home services)
#:use-module (gnu home services shells)
#:use-module (gnu services)
#:use-module (gnu system shadow)
#:use-module (gnu packages)
#:use-module (guix gexp))
(define home-config
(home-environment
(services
(append (list
;; Uncomment the shell you wish to use for your user:
;; (service home-bash-service-type)
;; (service home-fish-service-type)
;; (service home-zsh-service-type)
(simple-service 'my-dotfiles home-files-service-type
`((".tmux.conf" ,(local-file "files/tmux.conf"))))
(simple-service 'my-xdg-configs
home-xdg-configuration-files-service-type
`(("alacritty/alacritty.toml" ,(local-file
"files/alacritty.toml"))
("nvim/init.lua" ,(local-file "files/init.lua"))))
(service home-files-service-type
`((".guile" ,%default-dotguile)
(".Xdefaults" ,%default-xdefaults)))
(service home-xdg-configuration-files-service-type
`(("gdb/gdbinit" ,%default-gdbinit)
("nano/nanorc" ,%default-nanorc))))
%base-home-services))
(packages (specifications->packages '("git" "tmux"
"alacritty"
"htop"
"node"
"go"
"neovim"
"firefox")))
))
home-config