-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (26 loc) · 805 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
HOST=$(shell hostname)
all:
@echo slammin it now!!! $(HOST)
# delete old entries
sudo nix-env --delete-generations +10 --profile /nix/var/nix/profiles/system
sudo nixos-rebuild --flake .#$(HOST) switch --show-trace --max-jobs auto
# i3-msg reload
- i3-msg restart
- systemctl --user restart picom.service
gc:
nix-env --delete-generations +10
nix-store --gc
nix-store --optimise
update:
nix flake update
repair:
sudo nix-store --repair --verify --check-contents
# what is thsis here for? i forgor.
refresh-udev:
sudo udevadm control --reload-rules
sudo udevadm trigger
# i enabled this to maybe fix the incorrect gleam grammar but it didn't work.
# also this creates a 1.1GB folder in ~/.config/helix/runtime so i don't want to do it
# grammar:
# - hx --grammar fetch
# hx --grammar build