Recreated nix files

This commit is contained in:
2026-03-03 22:52:16 +01:00
parent 488698bacb
commit 7699f5b4d9
11 changed files with 290 additions and 940 deletions
@@ -1,59 +0,0 @@
{
"shell_command": false,
"ignore-gtk-theme": true,
"cssPriority": "user",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"layer-shell": true,
"control-center-positionX": "right",
"control-center-positionY": "top",
"control-center-layer": "overlay",
"control-center-exclusive-zone": true,
"control-center-width": 480,
"control-center-height": 0,
"fit-to-screen": true,
"control-center-margin-top": 14,
"control-center-margin-right": 14,
"control-center-margin-bottom": 14,
"control-center-margin-left": 14,
"notification-window-width": 420,
"notification-window-height": -1,
"timeout": 8,
"timeout-low": 4,
"timeout-critical": 0,
"transition-time": 150,
"notification-grouping": true,
"keyboard-shortcuts": true,
"hide-on-action": true,
"hide-on-clear": false,
"relative-timestamps": true,
"image-visibility": "when-available",
"notification-2fa-action": true,
"text-empty": "No notifications",
"widgets": ["title", "dnd", "notifications"],
"widget-config": {
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear"
},
"dnd": {
"text": "Do Not Disturb"
},
"notifications": {
"vexpand": true
}
}
}
@@ -1,115 +0,0 @@
/* SwayNotificationCenter (swaync) — EXACT Waybar match
* Put in: ~/.config/swaync/style.css
*
* swaync loads GTK CSS for theming.
*/
@define-color base rgba(220, 230, 255, 0.05);
@define-color text rgba(255, 255, 255, 1.0);
@define-color surface1 rgba(255, 255, 255, 0.08);
@define-color subtext1 rgba(255, 255, 255, 0.35);
@define-color blue rgba(51, 204, 255, 0.933);
@define-color green rgba(0, 255, 153, 0.933);
@define-color red rgba(255, 0, 0, 0.90);
* {
color: @text;
font-family:
Aporetic Sans Mono,
Iosevka Nerd Font,
Sans;
font-size: 13px;
}
/* Remove list selection glow */
list,
listview,
row,
listview row,
listview row:selected,
listview row:hover,
listview row:focus,
listview row:active {
background-color: transparent;
background-image: none;
box-shadow: none;
outline: none;
}
/* Popups: keep window transparent, but make the *notification surfaces* opaque base */
window#notification-window {
background: transparent;
}
/* Control center — EXACT same as Waybar base */
.control-center {
background-color: @base;
border-radius: 10px;
padding: 12px;
/* Keep border subtle, like Waybar (no heavy shadow) */
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: none;
}
/* Widget headers — use Waybar surface1 */
.widget-title {
margin-bottom: 10px;
padding: 6px 10px;
border-radius: 10px;
background-color: @surface1;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.widget-title > label {
font-size: 14px;
font-weight: 700;
}
/* Cards — EXACT same as Waybar base */
.notification-background {
margin: 10px 0;
padding: 0;
background: transparent;
}
.notification-background .notification {
background-color: @base;
border-radius: 10px;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: none;
}
/* Accent by urgency */
.notification.critical {
border-left: 4px solid @red;
}
.notification.low {
border-left: 4px solid @blue;
}
.notification.normal {
border-left: 4px solid @green;
}
/* Meta */
.notification .app-name {
color: @subtext1;
font-weight: 700;
}
.notification .time {
color: @subtext1;
font-size: 12px;
}
/* Text */
.notification .summary {
color: @text;
font-weight: 800;
font-size: 14px;
}
.notification .body {
color: @subtext1;
margin-top: 6px;
line-height: 1.25;
}
/* Buttons */
.notification button {
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: none;
padding: 6px 10px;
}
.notification button:hover {
background-color: rgba(255, 255, 255, 0.14);
}
@@ -1,64 +0,0 @@
##############################################
# These files are just for reference.
# If you want to change anything, edit the source files in:
# ~/henrovnix/assets/conf
#
# After that, run:
# cd ~/henrovnix && 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 ~/henrovnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
#
# NOTE:
# Make sure the lines starting with: cd ~/henrovnix
# 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
@@ -1,26 +0,0 @@
##############################################
# These files are just for reference.
# If you want to change anything, edit the source files in:
# ~/henrovnix/assets/conf
#
# After that, run:
# cd ~/henrovnix && 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 ~/henrovnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
#
# NOTE:
# Make sure the lines starting with: cd ~/henrovnix
# are written as ONE single line.
###############################################
# Force transparency (comes from the conf file, as you want)
background_opacity 0.40
dynamic_background_opacity yes
# the rest…
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+c copy_to_clipboard
@@ -1,279 +0,0 @@
"$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"
@@ -1,30 +0,0 @@
##############################################
# These files are just for reference.
# If you want to change anything, edit the source files in:
# ~/henrovnix/assets/conf
#
# After that, run:
# cd ~/henrovnix && 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 ~/henrovnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
#
# NOTE:
# Make sure the lines starting with: cd ~/henrovnix
# 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
@@ -1,22 +0,0 @@
##############################################
# These files are just for reference.
# If you want to change anything, edit the source files in:
# ~/henrovnix/assets/conf
#
# After that, run:
# cd ~/henrovnix && 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 ~/henrovnix && sudo nixos-rebuild switch --flake .#<yourhost> && systemctl reboot
#
# NOTE:
# Make sure the lines starting with: cd ~/henrovnix
# are written as ONE single line.
##############################################
Host *
AddKeysToAgent yes
ServerAliveInterval 30
ServerAliveCountMax 3
@@ -12,3 +12,6 @@ fi
# --no-group --no-owner preserves your user ownership
rsync -av --no-group --no-owner "$SOURCE_DIR/" "$DEST_DIR/"
echo "Config files copied from $SOURCE_DIR to $DEST_DIR. Symlinks replaced with editable files."
#pkill waybar && waybar &
hyprctl reload
@@ -13,6 +13,3 @@ fi
TIMESTAMP_FILE="$HOME/timestamp.txt"
date +"%Y-%m-%d %H:%M:%S" > "$TIMESTAMP_FILE"
pkill waybar && waybar &
hyprctl reload
@@ -1,55 +0,0 @@
#!/usr/bin/env bash
# Define source and destination directories
SOURCE_DIR="$HOME/.config"
DEST_DIR="$HOME/Repos/nixos/henrovnix_ok/assets/conf/.config"
# Create destination directory if it doesn't exist
mkdir -p "$DEST_DIR"
# List of files/directories to copy
declare -a files_to_copy=(
"git/config"
"hypr/hypridle.conf"
"hypr/hyprland.conf"
"hypr/hyprlock.conf"
"hypr/hyprpaper/config/DP-1/defaults.conf"
"hypr/hyprpaper/config/eDP-1/defaults.conf"
"hypr/lock.png"
"hypr/README.org"
"hypr/scripts/lid-lock.sh"
"hypr/scripts/powermenu.sh"
"hyprshell/config.ron"
"hyprshell/styles.css"
"kdeconnect/certificate.pem"
"kdeconnect/config"
"kdeconnect/privateKey.pem"
"kitty/kitty.conf"
"kitty/themes/Catppuccin-Mocha.conf"
"starship.toml"
"Thunar/accels.scm"
"Thunar/uca.xml"
"walker/config.toml"
"walker/themes/frosted/default.css"
"walker/themes/frosted/style.css"
"waybar/config"
"waybar/style.css"
"xdg-desktop-portal/hyprland-portals.conf"
"xdg-desktop-portal/portals.conf"
"zed/settings.json"
"zed/settings.json.backup"
)
# Copy each file/directory, resolving symlinks
for file in "${files_to_copy[@]}"; do
src="$SOURCE_DIR/$file"
dest="$DEST_DIR/$file"
mkdir -p "$(dirname "$dest")"
if [ -L "$src" ]; then
cp -L "$src" "$dest"
else
cp -r "$src" "$dest"
fi
done
echo "Files copied from $SOURCE_DIR to $DEST_DIR"