Add make home to Makefile, fix paths for Legion

This commit is contained in:
Evie Litherland-Smith 2023-07-16 09:03:38 +01:00
parent fd928f0b66
commit dc9374c769
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
.PHONY: test build debug switch lock .PHONY: test switch build debug lock update hyprland waybar home
test: test:
sudo nixos-rebuild test --flake . sudo nixos-rebuild test --flake .
@ -28,3 +28,6 @@ hyprland:
waybar: waybar:
-pkill -9 waybar -pkill -9 waybar
-hyprctl dispatch exec waybar -hyprctl dispatch exec waybar
home:
home-manager switch --flake .

View file

@ -1,5 +1,5 @@
{...}: { {...}: {
imports = [./home/personal.nix]; imports = [../../home/personal.nix];
home = { home = {
username = "xenia"; username = "xenia";
homeDirectory = "/home/xenia"; homeDirectory = "/home/xenia";