Added nixos configs
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
##############################################
|
||||
app.zen_browser.zen
|
||||
com.github.tchx84.Flatseal
|
||||
eu.betterbird.Betterbird
|
||||
@@ -0,0 +1,92 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
#
|
||||
#IMPORTANT:
|
||||
# Only packages/attributes that exist in Nixpkgs can be installed.
|
||||
# Check names on https://search.nixos.org/packages
|
||||
# A wrong package name (or attribute path) will cause the Nix build to fail.
|
||||
###############################################
|
||||
|
||||
|
||||
# system
|
||||
nixVersions.latest
|
||||
wofi
|
||||
xdg-utils
|
||||
desktop-file-utils
|
||||
playerctl
|
||||
pamixer
|
||||
pavucontrol
|
||||
brightnessctl
|
||||
rofi
|
||||
simple-scan
|
||||
mpv
|
||||
|
||||
#productivity
|
||||
todoist #< -- was a flatpak, did not get installed
|
||||
|
||||
# browsers
|
||||
brave
|
||||
vivaldi
|
||||
chromium
|
||||
|
||||
# hyprland
|
||||
hyprpaper
|
||||
|
||||
# utils
|
||||
wget
|
||||
nextcloud-client
|
||||
kdePackages.okular
|
||||
kdePackages.gwenview
|
||||
kdePackages.kdeconnect-kde
|
||||
_1password-gui
|
||||
docker
|
||||
tree
|
||||
ripgrep
|
||||
gparted
|
||||
file
|
||||
htop
|
||||
wev
|
||||
solaar
|
||||
|
||||
# terminals
|
||||
kdePackages.konsole
|
||||
kdePackages.yakuake
|
||||
|
||||
# office
|
||||
obsidian
|
||||
onlyoffice-desktopeditors
|
||||
|
||||
# development
|
||||
git
|
||||
vscode-with-extensions
|
||||
kdePackages.kate
|
||||
postman
|
||||
tea
|
||||
|
||||
#jetbrains.pycharm
|
||||
python3
|
||||
|
||||
# communication
|
||||
nextcloud-talk-desktop
|
||||
signal-desktop
|
||||
openssl
|
||||
|
||||
# multimedia
|
||||
audacity
|
||||
handbrake
|
||||
spotify
|
||||
vlc
|
||||
@@ -0,0 +1,7 @@
|
||||
[greeter]
|
||||
theme-name = catppuccinThemePkg
|
||||
icon-theme-name = papirus-icon-theme
|
||||
cursor-theme-name = bibata-cursors
|
||||
cursor-theme-size = 24
|
||||
font-name = Sans 11
|
||||
indicators = ~host;~spacer;~clock;~spacer;~session;~language;~power
|
||||
@@ -0,0 +1,27 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
##############################################
|
||||
# Minimal Hyprland config for greetd
|
||||
|
||||
[LightDM]
|
||||
run-directory=/run/lightdm
|
||||
|
||||
[Seat:*]
|
||||
greeter-session=lightdm-gtk-greeter
|
||||
user-session=hyprland
|
||||
allow-guest=false
|
||||
@@ -0,0 +1,169 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
###############################################
|
||||
|
||||
|
||||
|
||||
# Keybindings #
|
||||
###############
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# use walker to show exec menu
|
||||
bind = $mainMod, Space , exec, walker
|
||||
bind = $mainMod, P, pseudo
|
||||
bind = $mainMod, T, togglesplit
|
||||
|
||||
# grimblast
|
||||
bind = $mainMod SHIFT, p, exec, grimblast -n -f copysave active
|
||||
bind = $mainMod SHIFT, a, exec, grimblast -n -f copysave area
|
||||
bind = $mainMod ALT, p, exec, grimblast -n -f copysave output
|
||||
bind = $mainMod CTRL, p, exec, grimblast -n -f copysave screen
|
||||
|
||||
# Terminal / launcher / kill / reload
|
||||
bind = $mainMod, E, exec, thunar
|
||||
bind = $mainMod, RETURN, exec, kitty
|
||||
bind = $mainMod, D, exec, wofi --show drun
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod SHIFT, Q, exit,
|
||||
bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||
|
||||
# Default browser
|
||||
bind = $mainMod, W, exec, flatpak run app.zen_browser.zen
|
||||
|
||||
# Switch windows
|
||||
bind = $mainMod, TAB, hyprexpo:expo, toggle
|
||||
bind = ALT, TAB, cyclenext
|
||||
bind = ALT SHIFT, TAB, cyclenext , prev
|
||||
|
||||
# Focus movement
|
||||
bind = $mainMod, H, movefocus, l
|
||||
bind = $mainMod, L, movefocus, r
|
||||
bind = $mainMod, K, movefocus, u
|
||||
bind = $mainMod, J, movefocus, d
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# # Move windows
|
||||
bind = $mainMod SHIFT, H, movewindow, l
|
||||
bind = $mainMod SHIFT, L, movewindow, r
|
||||
bind = $mainMod SHIFT, K, movewindow, u
|
||||
bind = $mainMod SHIFT, J, movewindow, d
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
# Resize windows
|
||||
bind = $mainMod CTRL, H, resizeactive, -30 0
|
||||
bind = $mainMod CTRL, L, resizeactive, 30 0
|
||||
bind = $mainMod CTRL, K, resizeactive, 0 -30
|
||||
bind = $mainMod CTRL, J, resizeactive, 0 30
|
||||
|
||||
# Floating / fullscreen
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, F, fullscreen, 0
|
||||
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||
|
||||
# Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Cycle workspaces
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Mouse drag
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
#########################
|
||||
# Screenshots
|
||||
#########################
|
||||
bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = , XF86Screenshot, exec, grim - | wl-copy
|
||||
|
||||
#########################
|
||||
# Audio (pamixer)
|
||||
#########################
|
||||
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
|
||||
bind = , XF86AudioLowerVolume, exec, pamixer -d 5
|
||||
bind = , XF86AudioMute, exec, pamixer -t
|
||||
bind = , XF86AudioMicMute, exec, pamixer --default-source -t
|
||||
|
||||
#########################
|
||||
# Media (playerctl)
|
||||
#########################
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioPause, exec, playerctl pause
|
||||
bind = , XF86AudioNext, exec, playerctl next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous
|
||||
bind = , XF86AudioStop, exec, playerctl stop
|
||||
|
||||
#########################
|
||||
# Brightness (brightnessctl)
|
||||
#########################
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl set +10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
||||
bind = , XF86KbdBrightnessUp, exec, brightnessctl -d '*kbd_backlight*' set +10%
|
||||
bind = , XF86KbdBrightnessDown, exec, brightnessctl -d '*kbd_backlight*' set 10%-
|
||||
|
||||
#########################
|
||||
# Power / session
|
||||
#########################
|
||||
bind = , XF86Sleep, exec, systemctl suspend
|
||||
bind = , XF86PowerOff, exec, systemctl poweroff
|
||||
bind = , XF86WakeUp, exec, systemctl suspend
|
||||
bind = $mainMod, L, exec, loginctl lock-session
|
||||
|
||||
#########################
|
||||
# Laptop lid settings
|
||||
#########################
|
||||
bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-action.sh
|
||||
bindl = , switch:off:Lid Switch, exec, ~/.config/hypr/scripts/lid-restore.sh
|
||||
|
||||
#########################
|
||||
# Start apps
|
||||
#########################
|
||||
bind = CTRL ALT, B, exec, flatpak run eu.betterbird.Betterbird
|
||||
bind = CTRL ALT, S, exec, spotify
|
||||
bind = CTRL ALT, z, exec, flatpak run app.zen_browser.zen --filesystem=home
|
||||
bind = CTRL ALT, k, exec, kate
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
general {
|
||||
lock_cmd = hyprlock
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
ignore_dbus_inhibit = false
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyprlock
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 900
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything definitive, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
# Temporarily(!) testing can by editing this file, edit the file and reloading hyprshell
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
###############################################
|
||||
|
||||
############################
|
||||
# Variables
|
||||
############################
|
||||
|
||||
# Colors (Hyprland "col" values commonly use rgba(aarrggbb)-style hex)
|
||||
# See Hyprland variable / type docs for color formats & bools. :contentReference[oaicite:2]{index=2}
|
||||
$base = rgba(1e1e2eff)
|
||||
$inactive = rgba(595959aa)
|
||||
$blue = rgba(33ccffee)
|
||||
$green = rgba(00ff99ee)
|
||||
|
||||
# Recommended for correct environment in systemd user session / portals. :contentReference[oaicite:4]{index=4}
|
||||
exec-once = dbus-update-activation-environment --systemd --all
|
||||
exec-once = uwsm app -- waybar
|
||||
|
||||
input {
|
||||
follow_mouse = 1
|
||||
kb_layout = us
|
||||
kb_options = ctrl:nocaps
|
||||
sensitivity = -0.5
|
||||
accel_profile = adaptive
|
||||
scroll_factor = 0.5
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
scroll_factor = 0.5
|
||||
}
|
||||
}
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 4
|
||||
border_size = 2
|
||||
# Gradient syntax: color color angle (e.g. 45deg). :contentReference[oaicite:5]{index=5}
|
||||
col.active_border = $blue $green 45deg
|
||||
col.inactive_border = $inactive
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
extend_border_grab_area = 20 # Makes it easier to "grab" the edge
|
||||
}
|
||||
decoration {
|
||||
rounding = 5
|
||||
}
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
dwindle {
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
}
|
||||
misc {
|
||||
disable_hyprland_logo = false
|
||||
focus_on_activate = true
|
||||
}
|
||||
# Start required session helpers
|
||||
exec-once = hypridle
|
||||
exec-once = hyprpolkitagent
|
||||
# Lid close: lock only if no external monitor is connected
|
||||
bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-lock.sh
|
||||
# Lid open: turn DPMS back on (does not unlock)
|
||||
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
|
||||
|
||||
exec-once = systemd-run --user --scope --unit=elephant elephant
|
||||
@@ -0,0 +1,32 @@
|
||||
# ~/.config/hypr/hyprlock.conf
|
||||
|
||||
general {
|
||||
grace = 2
|
||||
ignore_empty_input = true
|
||||
}
|
||||
|
||||
background {
|
||||
path = ~/.config/hypr/lock.png
|
||||
blur_passes = 2
|
||||
blur_size = 6
|
||||
}
|
||||
|
||||
input-field {
|
||||
size = 320, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.25
|
||||
dots_spacing = 0.20
|
||||
fade_on_empty = true
|
||||
placeholder_text = "Password"
|
||||
position = 0, -120
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
label {
|
||||
text = $TIME
|
||||
font_size = 72
|
||||
position = 0, 120
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// Edit with `hyprshell config edit` <-- GUI app, resize!
|
||||
(
|
||||
version: 3,
|
||||
windows: (
|
||||
scale: 8.5,
|
||||
items_per_row: 5 ,
|
||||
overview: (
|
||||
launcher: (
|
||||
default_terminal: None,
|
||||
launch_modifier: "ctrl",
|
||||
width: 800,
|
||||
max_items: 5,
|
||||
show_when_empty: true,
|
||||
plugins: (
|
||||
applications: (
|
||||
run_cache_weeks: 8,
|
||||
show_execs: true,
|
||||
show_actions_submenu: true,
|
||||
),
|
||||
terminal: None,
|
||||
shell: None,
|
||||
websearch: None,
|
||||
calc: (),
|
||||
path: (),
|
||||
actions: (
|
||||
actions: [
|
||||
lock_screen,
|
||||
hibernate,
|
||||
logout,
|
||||
reboot,
|
||||
shutdown,
|
||||
suspend,
|
||||
custom(
|
||||
names: [
|
||||
"Kill",
|
||||
"Stop",
|
||||
],
|
||||
details: "Kill or stop a process by name",
|
||||
command: "pkill \"{}\" && notify-send hyprshell \"stopped {}\"",
|
||||
icon: "remove",
|
||||
),
|
||||
custom(
|
||||
names: [
|
||||
"Reload Hyprshell",
|
||||
],
|
||||
details: "Reload Hyprshell",
|
||||
command: "sleep 1; hyprshell socat \'\"Restart\"\'",
|
||||
icon: "system-restart",
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
key: "Super_L",
|
||||
modifier: "super",
|
||||
filter_by: [],
|
||||
hide_filtered: false,
|
||||
exclude_special_workspaces: "",
|
||||
),
|
||||
switch: (
|
||||
modifier: "alt",
|
||||
key: "Tab",
|
||||
filter_by: [
|
||||
current_monitor,
|
||||
],
|
||||
switch_workspaces: false,
|
||||
exclude_special_workspaces: "",
|
||||
),
|
||||
switch_2: None,
|
||||
),
|
||||
)
|
||||
@@ -0,0 +1,8 @@
|
||||
window {
|
||||
background: rgba(20, 20, 20, 0.92);
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: unset;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
INTERNAL="eDP1"
|
||||
|
||||
has_external() {
|
||||
# Any monitor name that is not INTERNAL counts as external
|
||||
hyprctl monitors -j | grep -q '"name"' && ! hyprctl monitors -j | grep -q "\"name\":\"$INTERNAL\"\""
|
||||
}
|
||||
|
||||
has_external_robust() {
|
||||
# robust without jq: count monitor names; if there's >1 OR there's a name not INTERNAL
|
||||
local names
|
||||
names="$(hyprctl monitors -j | sed -n 's/.*"name":"\([^"]*\)".*/\1/p')"
|
||||
# if any name != INTERNAL then external
|
||||
echo "$names" | grep -vx "$INTERNAL" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
if has_external_robust; then
|
||||
# Clamshell: disable laptop panel, no lock
|
||||
hyprctl keyword monitor "${INTERNAL},disable"
|
||||
else
|
||||
# Laptop only: suspend
|
||||
systemctl suspend
|
||||
fi
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
INTERNAL="eDP1"
|
||||
|
||||
# Restore panel using preferred mode, auto position, scale 1
|
||||
hyprctl keyword monitor "${INTERNAL},preferred,auto,1"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 425 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 962 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 173 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 270 KiB |
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
##############################################
|
||||
# Wallpaper config (wpaperd, TOML)
|
||||
#
|
||||
# Source-of-truth in repo:
|
||||
# ~/system-master/assets/conf/desktop/wallpaper/wallpaper.conf
|
||||
#
|
||||
# Runtime override (user edits this):
|
||||
# ~/conf/desktop/wallpaper/wallpaper.conf
|
||||
#
|
||||
# Wallpapers are copied from repo to:
|
||||
# ~/wallpapers/
|
||||
# and by default loaded from:
|
||||
# ~/wallpapers/pictures
|
||||
##############################################
|
||||
|
||||
[default]
|
||||
# Directory to pick wallpapers from
|
||||
path = "~/nixos_conf/wallpaperstuff/pictures"
|
||||
|
||||
# Switch every 60 minutes
|
||||
duration = "5m"
|
||||
|
||||
# Random order (ascending/descending/random)
|
||||
sorting = "random"
|
||||
|
||||
# Include subfolders
|
||||
recursive = true
|
||||
|
||||
# How to fit wallpaper on screen
|
||||
mode = "stretch"
|
||||
|
||||
# Transition time in milliseconds
|
||||
transition-time = 2500
|
||||
|
||||
# Apply a "fade-like" transition (uses gl-transitions)
|
||||
[default.transition.dissolve]
|
||||
# (leave empty to use the transition defaults)
|
||||
|
||||
# Apply these defaults to any monitor not explicitly listed
|
||||
[any]
|
||||
# (inherits [default]; keep empty unless you want overrides)
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"height": 34,
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
"battery",
|
||||
"tray",
|
||||
"clock"
|
||||
],
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": { "activated": " ", "deactivated": " " }
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portab le": "",
|
||||
"default": ["", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": " ({bandwidthDownBits})",
|
||||
"format-ethernet": " ({bandwidthDownBits})",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click": "impala"
|
||||
},
|
||||
|
||||
"cpu": { "format": "{usage}% ", "tooltip": false },
|
||||
"memory": { "format": "{percentage}% " },
|
||||
|
||||
"temperature": { "format": "{temperatureC}°C ", "tooltip": false },
|
||||
|
||||
"tray": { "spacing": 10, "icon-size": 14 },
|
||||
|
||||
"clock": { "format": "{:%a, %d %b %Y - %H:%M}", "tooltip": false },
|
||||
|
||||
"battery": {
|
||||
"bat": "BAT0",
|
||||
"states": { "good": 95, "warning": 30, "critical": 15 },
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-icons": ["", "", "", "", " "]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
* {
|
||||
font-family: Aporetic Sans Mono, Iosevka Nerd Font, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
transition-property: background-color;
|
||||
border-bottom: 0px solid rgba(0, 0, 0, 0);
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
box-shadow: inset 0 -3px @subtext1;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#idle_inhibitor,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#tray {
|
||||
margin: 0 5px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: white;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: @red;
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
##############################################
|
||||
|
||||
# ============================================
|
||||
# Alacritty config (TOML)
|
||||
# Path: ~/.config/alacritty/alacritty.toml
|
||||
# Source-of-truth: assets/conf/dev/alacritty.toml
|
||||
# ============================================
|
||||
|
||||
[terminal.shell]
|
||||
program = "zsh"
|
||||
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.normal]
|
||||
family = "Aporetic Sans Mono"
|
||||
style = "Regular"
|
||||
|
||||
[font.bold]
|
||||
family = "Aporetic Sans Mono"
|
||||
style = "Bold"
|
||||
|
||||
[font.italic]
|
||||
family = "Aporetic Sans Mono"
|
||||
style = "Italic"
|
||||
|
||||
[window]
|
||||
dynamic_padding = false
|
||||
decorations = "Full"
|
||||
|
||||
[window.padding]
|
||||
x = 4
|
||||
y = 4
|
||||
|
||||
[scrolling]
|
||||
history = 10000
|
||||
multiplier = 3
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = true
|
||||
|
||||
[cursor]
|
||||
style = "Block"
|
||||
unfocused_hollow = true
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
@@ -0,0 +1,67 @@
|
||||
##############################################
|
||||
# Aliases (source-of-truth)
|
||||
#
|
||||
# This file is written in bash/zsh alias syntax in [bash_zsh], [bash_specific], [zsh_specific].
|
||||
# Fish has different syntax; the Nix module translates [bash_zsh] into fish format and then
|
||||
# appends [fish_specific] as-is.
|
||||
##############################################
|
||||
|
||||
##############################################
|
||||
# Generic aliases (bash/zsh)
|
||||
# These are intended to be available in bash and zsh.
|
||||
##############################################
|
||||
[bash_zsh]
|
||||
alias ll='ls -lah'
|
||||
alias gs='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit'
|
||||
alias gp ='git push'
|
||||
alias gcp = 'git add . && git commit && git push'
|
||||
|
||||
alias cd ='z'
|
||||
|
||||
alias emt ='emacs README.org --batch -f org-babel-tangle && emacs -Q --batch README.org -f org-html-export-to-html'
|
||||
alias nxs='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild switch --flake .#traveldroid'
|
||||
alias nxt='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild test --flake .#traveldroid'
|
||||
alias nxv='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild build-vm --flake .#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"'
|
||||
|
||||
alias rb='systemctl reboot'
|
||||
alias po='systemctl poweroff'
|
||||
|
||||
alias fpl='flatpak search'
|
||||
alias fpi='flatpak install'
|
||||
alias fpr='flatpak run'
|
||||
|
||||
alias nxc='ssh henrov@nextcloud.data-pro.nu'
|
||||
alias nps='xdg-open https://search.nixos.org'
|
||||
|
||||
alias vs='code'
|
||||
|
||||
|
||||
##############################################
|
||||
# Shell-specific aliases / examples
|
||||
#
|
||||
# Everything below is COMMENTED OUT on purpose.
|
||||
# These examples show syntax or commands that are shell-specific
|
||||
# (or behave differently across shells).
|
||||
##############################################
|
||||
|
||||
[bash_specific]
|
||||
# Enable recursive globbing (**)
|
||||
# alias sg='shopt -s globstar'
|
||||
|
||||
[zsh_specific]
|
||||
# Recursive globbing works by default in zsh; this prints matches one-per-line
|
||||
# alias recglob='print -l **/*.nix'
|
||||
|
||||
[fish_specific]
|
||||
# Fish has its own language; this is fish-only syntax (not bash/zsh)
|
||||
# alias setvar='set -gx EDITOR emacs'
|
||||
|
||||
[dash_specific]
|
||||
# dash is a minimal POSIX shell; shown here only as an example
|
||||
# alias com='command -v ls'
|
||||
|
||||
[nushell_specific]
|
||||
# Nushell pipelines structured data; this is nu-only syntax
|
||||
# alias fbf='ls | where size > 1mb | get name'
|
||||
@@ -0,0 +1,15 @@
|
||||
##############################################
|
||||
# Enabled shells (source-of-truth)
|
||||
#
|
||||
# Edit this file in the repo:
|
||||
# ./assets/conf/dev/terminal/enabled_shells.conf
|
||||
#
|
||||
# After changing, rebuild Home Manager / your system as you normally do.
|
||||
##############################################
|
||||
|
||||
[enabled_shells]
|
||||
bash = yes
|
||||
zsh = yes
|
||||
fish = no
|
||||
dash = no
|
||||
nushell = no
|
||||
@@ -0,0 +1,31 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
###############################################
|
||||
#~/nixos/files/conf/terminal/kitty.conf
|
||||
|
||||
# Kitty config (https://sw.kovidgoyal.net/kitty/conf/)
|
||||
#
|
||||
# Edit freely; NixOS will inject this file verbatim via programs.kitty.extraConfig.
|
||||
|
||||
# Example baseline settings:
|
||||
background_opacity 0.60
|
||||
dynamic_background_opacity yes
|
||||
|
||||
# Suggested: allow ctrl+shift+v paste (many distros default this already)
|
||||
map ctrl+shift+v paste_from_clipboard
|
||||
map ctrl+shift+c copy_to_clipboard
|
||||
@@ -0,0 +1,279 @@
|
||||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
format = """
|
||||
[](red)\
|
||||
$os\
|
||||
$username\
|
||||
[](bg:peach fg:red)\
|
||||
$directory\
|
||||
[](bg:yellow fg:peach)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:yellow bg:green)\
|
||||
$c\
|
||||
$rust\
|
||||
$golang\
|
||||
$nodejs\
|
||||
$php\
|
||||
$java\
|
||||
$kotlin\
|
||||
$haskell\
|
||||
$python\
|
||||
[](fg:green bg:sapphire)\
|
||||
$conda\
|
||||
[](fg:sapphire bg:lavender)\
|
||||
$time\
|
||||
[ ](fg:lavender)\
|
||||
$cmd_duration\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
palette = 'catppuccin_mocha'
|
||||
|
||||
[os]
|
||||
disabled = false
|
||||
style = "bg:red fg:crust"
|
||||
|
||||
[os.symbols]
|
||||
Windows = ""
|
||||
Ubuntu = ""
|
||||
SUSE = ""
|
||||
Raspbian = ""
|
||||
Mint = ""
|
||||
Macos = ""
|
||||
Manjaro = ""
|
||||
Linux = ""
|
||||
Gentoo = ""
|
||||
Fedora = ""
|
||||
Alpine = ""
|
||||
Amazon = ""
|
||||
Android = ""
|
||||
AOSC = ""
|
||||
Arch = ""
|
||||
Artix = ""
|
||||
CentOS = ""
|
||||
Debian = ""
|
||||
Redhat = ""
|
||||
RedHatEnterprise = ""
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:red fg:crust"
|
||||
style_root = "bg:red fg:crust"
|
||||
format = '[ $user]($style)'
|
||||
|
||||
[directory]
|
||||
style = "bg:peach fg:crust"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Developer" = " "
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:yellow"
|
||||
format = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:yellow"
|
||||
format = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[kotlin]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version)(\(#$virtualenv\)) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = ""
|
||||
style = "bg:sapphire"
|
||||
format = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)'
|
||||
|
||||
[conda]
|
||||
symbol = " "
|
||||
style = "fg:crust bg:sapphire"
|
||||
format = '[$symbol$environment ]($style)'
|
||||
ignore_base = false
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R"
|
||||
style = "bg:lavender"
|
||||
format = '[[ $time ](fg:crust bg:lavender)]($style)'
|
||||
|
||||
[line_break]
|
||||
disabled = false
|
||||
|
||||
[character]
|
||||
disabled = false
|
||||
success_symbol = '[❯](bold fg:green)'
|
||||
error_symbol = '[❯](bold fg:red)'
|
||||
vimcmd_symbol = '[❮](bold fg:green)'
|
||||
vimcmd_replace_one_symbol = '[❮](bold fg:lavender)'
|
||||
vimcmd_replace_symbol = '[❮](bold fg:lavender)'
|
||||
vimcmd_visual_symbol = '[❮](bold fg:yellow)'
|
||||
|
||||
[cmd_duration]
|
||||
show_milliseconds = true
|
||||
format = " in $duration "
|
||||
style = "bg:lavender"
|
||||
disabled = false
|
||||
show_notifications = true
|
||||
min_time_to_notify = 45000
|
||||
|
||||
[palettes.catppuccin_mocha]
|
||||
rosewater = "#f5e0dc"
|
||||
flamingo = "#f2cdcd"
|
||||
pink = "#f5c2e7"
|
||||
mauve = "#cba6f7"
|
||||
red = "#f38ba8"
|
||||
maroon = "#eba0ac"
|
||||
peach = "#fab387"
|
||||
yellow = "#f9e2af"
|
||||
green = "#a6e3a1"
|
||||
teal = "#94e2d5"
|
||||
sky = "#89dceb"
|
||||
sapphire = "#74c7ec"
|
||||
blue = "#89b4fa"
|
||||
lavender = "#b4befe"
|
||||
text = "#cdd6f4"
|
||||
subtext1 = "#bac2de"
|
||||
subtext0 = "#a6adc8"
|
||||
overlay2 = "#9399b2"
|
||||
overlay1 = "#7f849c"
|
||||
overlay0 = "#6c7086"
|
||||
surface2 = "#585b70"
|
||||
surface1 = "#45475a"
|
||||
surface0 = "#313244"
|
||||
base = "#1e1e2e"
|
||||
mantle = "#181825"
|
||||
crust = "#11111b"
|
||||
|
||||
[palettes.catppuccin_frappe]
|
||||
rosewater = "#f2d5cf"
|
||||
flamingo = "#eebebe"
|
||||
pink = "#f4b8e4"
|
||||
mauve = "#ca9ee6"
|
||||
red = "#e78284"
|
||||
maroon = "#ea999c"
|
||||
peach = "#ef9f76"
|
||||
yellow = "#e5c890"
|
||||
green = "#a6d189"
|
||||
teal = "#81c8be"
|
||||
sky = "#99d1db"
|
||||
sapphire = "#85c1dc"
|
||||
blue = "#8caaee"
|
||||
lavender = "#babbf1"
|
||||
text = "#c6d0f5"
|
||||
subtext1 = "#b5bfe2"
|
||||
subtext0 = "#a5adce"
|
||||
overlay2 = "#949cbb"
|
||||
overlay1 = "#838ba7"
|
||||
overlay0 = "#737994"
|
||||
surface2 = "#626880"
|
||||
surface1 = "#51576d"
|
||||
surface0 = "#414559"
|
||||
base = "#303446"
|
||||
mantle = "#292c3c"
|
||||
crust = "#232634"
|
||||
|
||||
[palettes.catppuccin_latte]
|
||||
rosewater = "#dc8a78"
|
||||
flamingo = "#dd7878"
|
||||
pink = "#ea76cb"
|
||||
mauve = "#8839ef"
|
||||
red = "#d20f39"
|
||||
maroon = "#e64553"
|
||||
peach = "#fe640b"
|
||||
yellow = "#df8e1d"
|
||||
green = "#40a02b"
|
||||
teal = "#179299"
|
||||
sky = "#04a5e5"
|
||||
sapphire = "#209fb5"
|
||||
blue = "#1e66f5"
|
||||
lavender = "#7287fd"
|
||||
text = "#4c4f69"
|
||||
subtext1 = "#5c5f77"
|
||||
subtext0 = "#6c6f85"
|
||||
overlay2 = "#7c7f93"
|
||||
overlay1 = "#8c8fa1"
|
||||
overlay0 = "#9ca0b0"
|
||||
surface2 = "#acb0be"
|
||||
surface1 = "#bcc0cc"
|
||||
surface0 = "#ccd0da"
|
||||
base = "#eff1f5"
|
||||
mantle = "#e6e9ef"
|
||||
crust = "#dce0e8"
|
||||
|
||||
[palettes.catppuccin_macchiato]
|
||||
rosewater = "#f4dbd6"
|
||||
flamingo = "#f0c6c6"
|
||||
pink = "#f5bde6"
|
||||
mauve = "#c6a0f6"
|
||||
red = "#ed8796"
|
||||
maroon = "#ee99a0"
|
||||
peach = "#f5a97f"
|
||||
yellow = "#eed49f"
|
||||
green = "#a6da95"
|
||||
teal = "#8bd5ca"
|
||||
sky = "#91d7e3"
|
||||
sapphire = "#7dc4e4"
|
||||
blue = "#8aadf4"
|
||||
lavender = "#b7bdf8"
|
||||
text = "#cad3f5"
|
||||
subtext1 = "#b8c0e0"
|
||||
subtext0 = "#a5adcb"
|
||||
overlay2 = "#939ab7"
|
||||
overlay1 = "#8087a2"
|
||||
overlay0 = "#6e738d"
|
||||
surface2 = "#5b6078"
|
||||
surface1 = "#494d64"
|
||||
surface0 = "#363a4f"
|
||||
base = "#24273a"
|
||||
mantle = "#1e2030"
|
||||
crust = "#181926"
|
||||
@@ -0,0 +1,30 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
###############################################
|
||||
#~/nixos/files/conf/terminal/zsh.conf
|
||||
|
||||
# Additional zsh configuration sourced for every interactive zsh shell.
|
||||
# Keep this file POSIX-ish; it is sourced by zsh.
|
||||
|
||||
# Example: history settings
|
||||
HISTFILE="$HOME/.zsh_history"
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
setopt HIST_IGNORE_ALL_DUPS
|
||||
setopt SHARE_HISTORY
|
||||
@@ -0,0 +1,22 @@
|
||||
##############################################
|
||||
# These files are just for reference.
|
||||
# If you want to change anything, edit the source files in:
|
||||
# ~/system-master/assets/conf
|
||||
#
|
||||
# After that, run:
|
||||
# cd ~/system-master && emacs README.org --batch -f org-babel-tangle && git add . && git commit -m "Adjusted conf files" && sudo nixos-rebuild switch --flake .#<yourhost>
|
||||
#
|
||||
# If everything still works, you can use the same command but:
|
||||
# - keep "switch"
|
||||
# - and add a reboot:
|
||||
#
|
||||
# cd ~/system-master && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
|
||||
#
|
||||
# NOTE:
|
||||
# Make sure the lines starting with: cd ~/system-master
|
||||
# are written as ONE single line.
|
||||
##############################################
|
||||
Host *
|
||||
AddKeysToAgent yes
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
Reference in New Issue
Block a user