[feat] Fix the nix config for desktop

This commit is contained in:
uttarayan21
2024-02-18 00:35:42 +05:30
parent 6d0526ab07
commit e94126de33
8 changed files with 450 additions and 84 deletions

View File

@@ -1,10 +1,13 @@
.PHONY: darwin home default
.PHONY: darwin home default nixos
default: home
default: nixos
darwin:
nix run nix-darwin -- switch --flake ~/.local/share/dotfiles/config/nix
# nix run nix-darwin -- switch --flake ~/.local/share/dotfiles/config/nix
nix run nix-darwin -- switch --flake .
home:
nix run home-manager/master -- switch --flake ~/.local/share/dotfiles/config/nix
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake .
nixos:
nixos-rebuild switch --flake .