changes
This commit is contained in:
@@ -5,6 +5,7 @@ export LOG_DIR=/tmp/mlog
|
||||
export SVDIR=$CONFIG_DIR/hosts/main/services
|
||||
export BASH_ENV=$CONFIG_DIR/hosts/main/bashrc
|
||||
export HOSTNAME=main
|
||||
export DOOMDIR="$CONFIG_DIR/doomdir"
|
||||
mkdir -p $LOG_DIR
|
||||
|
||||
# arch path
|
||||
|
||||
1
hosts/main/bin/doom
Symbolic link
1
hosts/main/bin/doom
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../src/doom/bin/doom
|
||||
3
hosts/main/bin/em
Executable file
3
hosts/main/bin/em
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec emacsclient "$@"
|
||||
13
hosts/main/bin/emacs-server
Executable file
13
hosts/main/bin/emacs-server
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -v IS_RUNIT ]]; then
|
||||
exec 2>$LOG_DIR/emacs
|
||||
exec 1>$LOG_DIR/emacs
|
||||
unset IS_RUNIT
|
||||
fi
|
||||
|
||||
export DOOMDIR="$CONFIG_DIR/doomdir"
|
||||
echo $DOOMDIR
|
||||
echo -------------
|
||||
|
||||
exec emacs --init-directory $CONFIG_DIR/src/doom --fg-daemon "$@"
|
||||
@@ -4,6 +4,7 @@ if [[ -v IS_RUNIT ]]; then
|
||||
exec 2>$LOG_DIR/hyprland
|
||||
exec 1>$LOG_DIR/hyprland
|
||||
sudo renice -n -10 -p $$
|
||||
unset IS_RUNIT
|
||||
fi
|
||||
|
||||
export XDG_CURRENT_DESKTOP=hyprland
|
||||
|
||||
1
hosts/main/bin/m
Symbolic link
1
hosts/main/bin/m
Symbolic link
@@ -0,0 +1 @@
|
||||
mize
|
||||
@@ -7,4 +7,6 @@ if [[ -v IS_RUNIT ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export LD_LIBRARY_PATH=/nix/store/992h4k1s2c0ma186wyc7a3080wrh1cc6-xdotool-4.20260303.1/lib:/nix/store/rsdvlq7wb59hdiwhhvkhx2xvxdkalkzc-webkitgtk-2.52.4+abi=4.1/lib:/nix/store/90ln3xz5m2x3r0ykad4mkg9gnwgrjpzg-pango-1.57.1/lib:/nix/store/l0vl4dali2mvbpi30a8da1f71jl85myg-openssl-3.6.2/lib:/nix/store/s2bjqqzdjs4ji71qm1wwnkiy7g3afdz6-at-spi2-core-2.60.4/lib:/nix/store/fzhjg6xris850npqr92g4m4pskj88brn-atkmm-2.28.5/lib:/nix/store/4zwifnznmqsg3zl8y5yyfafwp4sws6rs-cairo-1.18.4/lib:/nix/store/rgr3i966i5wnblv62fvkid3v3lxy1ivb-gdk-pixbuf-2.44.6/lib:/nix/store/7dl2py4dnp4ffj92r1lq0i54ik1v8kzn-glib-2.88.1/lib:/nix/store/7c73fgj9w0k8qrpq3j1h8h976bk7gqsp-gtk+3-3.24.52/lib:/nix/store/49i3fhgpfffwh3xm3j58ma4z7221sqbq-harfbuzz-13.2.1/lib:/nix/store/na21ka09652cgigpv9wlw904wpq8bnvz-librsvg-2.62.1/lib:/nix/store/jc4y9v7ci45vas65kyl00pzpam3dnbfk-libsoup-3.6.6/lib:/nix/store/3kncz3fkk7sv9xc61x096jnbxvxfnx1k-libxkbcommon-1.13.1/lib:/nix/store/a4h98420m9h8c84r2igrpdd94xsrc9b6-alsa-lib-1.2.15.3/lib:/nix/store/hngmi01i8wgi25a0byrxcn4ysz5j79mw-gcc-15.2.0-lib/lib:/nix/store/xpzd2xmvqpkv1la78qkfpybkfwak27xd-libxcb-1.17.0/lib:/nix/store/6y2b9qs1npwsvcsl9m66hjarzj0yagb4-pipewire-1.6.5/lib:/nix/store/clvzgv5kqq953s4azqhkg3ddgpvgl9wc-wayland-1.25.0/lib:/nix/store/8gyg3xn9i8xdz42yhbl0d3vmmz8phcs0-bzip2-1.0.8/lib
|
||||
|
||||
exec /home/me/work/config/mize/target/debug/mize --config $CONFIG_DIR/hosts/main/mize.toml --secrets $SECRETS_DIR/mize-secrets.toml "$@"
|
||||
|
||||
@@ -4,4 +4,4 @@ get_config steam.homeDir HOME
|
||||
export HOME
|
||||
|
||||
get_config steam.bin BIN
|
||||
exec $BIN
|
||||
nixGL $BIN "$@"
|
||||
3
hosts/main/bin/nyxt
Executable file
3
hosts/main/bin/nyxt
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec nixGL /home/me/.nix-profile/bin/nyxt --config $CONFIG_DIR/nyxt "$@"
|
||||
13
hosts/main/bin/screenshot
Executable file
13
hosts/main/bin/screenshot
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
geometry=$(slurp -c "#ff0000ff")
|
||||
|
||||
if [[ "$?" != "0" ]]
|
||||
then
|
||||
pkill wayfreeze || true
|
||||
exit
|
||||
fi
|
||||
|
||||
grim -g "$geometry" -t ppm - | nixGL satty --filename - --copy-command=wl-copy --early-exit &
|
||||
|
||||
pkill wayfreeze || true
|
||||
@@ -1,18 +1,18 @@
|
||||
127.0.0.1 localhost
|
||||
192.168.3.1 gw.c2vi.dev
|
||||
|
||||
192.168.0.3 gw
|
||||
192.168.0.3 gw.c2vi.dev
|
||||
192.168.3.1 gw
|
||||
192.168.3.1 gw.c2vi.dev
|
||||
192.168.3.105 mac
|
||||
|
||||
# netbird
|
||||
100.88.137.49 te
|
||||
100.93.225.52 fasu
|
||||
100.88.210.28 fasu
|
||||
100.88.42.194 fwin
|
||||
100.88.28.123 fe
|
||||
100.88.79.207 fusu
|
||||
100.88.79.207 files
|
||||
100.88.164.39 lush
|
||||
100.88.112.181 mac
|
||||
#100.88.112.181 mac
|
||||
100.88.116.225 nico
|
||||
100.88.245.227 phone
|
||||
100.88.69.32 ti
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
# Generated by nwg-displays on 2026-08-28 at 16:00:58. Do not edit manually.
|
||||
|
||||
monitor=eDP-1,1920x1080@60.0,0x0,0.9999999999999997
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "1920x1080@60.0",
|
||||
position = "0x1080",
|
||||
scale = 1.0
|
||||
})
|
||||
hl.monitor({
|
||||
output = "DP-1",
|
||||
mode = "3840x2160@60.0",
|
||||
position = "1920x0",
|
||||
scale = 1
|
||||
})
|
||||
|
||||
@@ -179,9 +179,10 @@ hl.config({
|
||||
},
|
||||
})
|
||||
|
||||
--#### autostart dms
|
||||
--#### autostart stuff
|
||||
hl.on("hyprland.start", function ()
|
||||
hl.exec_cmd("dms run")
|
||||
hl.exec_cmd("em ~/work/things", {workspace = "9 silent"})
|
||||
end)
|
||||
|
||||
--#### move windows
|
||||
@@ -205,7 +206,7 @@ hl.curve("quick", { type = "bezier", points = { {0.15, 0}, {0.1, 1}
|
||||
hl.curve("easy", { type = "spring", mass = 1, stiffness = 238.1191, dampening = 24.21279333 })
|
||||
|
||||
--#### end stuff
|
||||
--require("hypr-monitors")
|
||||
require("hypr-monitors")
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
scale = 1,
|
||||
@@ -241,3 +242,7 @@ hl.bind(mod .. "+f", function()
|
||||
hl.dsp.workspace.toggle_special("scratch")
|
||||
end)
|
||||
]]
|
||||
|
||||
|
||||
--#### screenshot
|
||||
hl.bind(mod .. "+ SHIFT + s", hl.dsp.exec_cmd("screenshot"))
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
port = 4410
|
||||
|
||||
[[clients]]
|
||||
position = "right"
|
||||
hostname = "mac"
|
||||
activate_on_startup = true
|
||||
ips = ["192.168.4.3"]
|
||||
port = 4410
|
||||
position = "right"
|
||||
activate_on_startup = true
|
||||
|
||||
[authorized_fingerprints]
|
||||
|
||||
16
hosts/main/mize.toml
Normal file
16
hosts/main/mize.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
part_dir.ppc = "/home/me/here/mize"
|
||||
data_dir = "/home/me/work/app-data/mize/misc"
|
||||
store = "/home/me/work/app-data/mize"
|
||||
spacetime.url = "100.88.46.87:8005"
|
||||
namespace = "priv.c2vi.dev"
|
||||
|
||||
enable = [ "cli", "auth", "" ]
|
||||
|
||||
|
||||
[web]
|
||||
url = "http://localhost:3000"
|
||||
|
||||
[auth.client]
|
||||
issuer = "https://auth.ppc.social"
|
||||
client_id = "363768685120258051"
|
||||
update_spacetime_token = true
|
||||
@@ -1 +1 @@
|
||||
949
|
||||
1052
|
||||
|
||||
Binary file not shown.
1
hosts/main/services/emacs/run
Symbolic link
1
hosts/main/services/emacs/run
Symbolic link
@@ -0,0 +1 @@
|
||||
../../bin/emacs-server
|
||||
0
hosts/main/services/emacs/supervise/lock
Normal file
0
hosts/main/services/emacs/supervise/lock
Normal file
1
hosts/main/services/emacs/supervise/pid
Normal file
1
hosts/main/services/emacs/supervise/pid
Normal file
@@ -0,0 +1 @@
|
||||
1053
|
||||
1
hosts/main/services/emacs/supervise/stat
Normal file
1
hosts/main/services/emacs/supervise/stat
Normal file
@@ -0,0 +1 @@
|
||||
run
|
||||
BIN
hosts/main/services/emacs/supervise/status
Normal file
BIN
hosts/main/services/emacs/supervise/status
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
950
|
||||
1051
|
||||
|
||||
Binary file not shown.
@@ -27,7 +27,7 @@ pacstrap -K /cachy base base-devel vim nix less direnv nvim
|
||||
pacstrap -K /cachy wayland firefox alacritty dms-shell git cmake paru
|
||||
|
||||
pacstrap -K /cachy freerdp remmina
|
||||
pacstrap -K /cachy brightnessctl playerctl nm-connection-editor ttf-hack zenity prismlauncher docker inetutils
|
||||
pacstrap -K /cachy brightnessctl playerctl nm-connection-editor ttf-hack zenity prismlauncher docker inetutils freerdp
|
||||
```
|
||||
|
||||
## chroot
|
||||
@@ -83,6 +83,10 @@ curl -fsSL https://pkgs.netbird.io/install.sh | sh
|
||||
|
||||
# nixpkgs
|
||||
nix profile add ni#rustdesk ni#yt-dlp ni#delta
|
||||
|
||||
# timezone
|
||||
sudo timedatectl set-timezone Europe/Vienna
|
||||
sudo systemctl enable --now systemd-timesyncd
|
||||
```
|
||||
|
||||
## fstab
|
||||
|
||||
Reference in New Issue
Block a user