Makefile: Try to remove old fixes.
This commit is contained in:
parent
100e4cd941
commit
2b0d181ad6
17
Makefile
17
Makefile
|
@ -10,7 +10,7 @@ android:
|
||||||
cp ~/.Wallpaper /sdcard/Download/Wallpaper.jpg
|
cp ~/.Wallpaper /sdcard/Download/Wallpaper.jpg
|
||||||
cp ~/.Wallpaper /sdcard/Download/Wallpaper.png
|
cp ~/.Wallpaper /sdcard/Download/Wallpaper.png
|
||||||
|
|
||||||
boot: fix-ulimit fix-unlock
|
boot:
|
||||||
nixos-rebuild boot $(options) --flake $(flake)
|
nixos-rebuild boot $(options) --flake $(flake)
|
||||||
|
|
||||||
cached:
|
cached:
|
||||||
|
@ -20,17 +20,16 @@ check:
|
||||||
nix flake check --show-trace
|
nix flake check --show-trace
|
||||||
|
|
||||||
# HACK: Fix ulimit switch issue. Test sometime in the future again.
|
# HACK: Fix ulimit switch issue. Test sometime in the future again.
|
||||||
fix-ulimit:
|
# fix-ulimit:
|
||||||
ulimit -n 999999999
|
# ulimit -n 999999999
|
||||||
|
|
||||||
# HACK: They broke switching in systemd service ffs.
|
# HACK: They broke switching in systemd service ffs.
|
||||||
# https://github.com/NixOS/nixpkgs/issues/347315
|
# https://github.com/NixOS/nixpkgs/issues/347315
|
||||||
fix-unlock:
|
# fix-unlock:
|
||||||
pkill nixos-rebuild || true
|
# pkill nixos-rebuild || true
|
||||||
|
|
||||||
# HACK: Bring back the nix config.
|
nixconf:
|
||||||
fix-nixconf:
|
mv /etc/nix/nix.conf_ /etc/nix/nix.conf || true
|
||||||
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
|
|
||||||
|
|
||||||
gc:
|
gc:
|
||||||
nix-collect-garbage -d
|
nix-collect-garbage -d
|
||||||
|
@ -72,7 +71,7 @@ reboot: boot
|
||||||
show:
|
show:
|
||||||
nix flake show
|
nix flake show
|
||||||
|
|
||||||
switch: fix-ulimit fix-unlock
|
switch:
|
||||||
nixos-rebuild switch $(options) --flake $(flake)
|
nixos-rebuild switch $(options) --flake $(flake)
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
|
Loading…
Reference in a new issue