From fccce59c0d4f7fd43a4b0aa04028cab5c25657ed Mon Sep 17 00:00:00 2001 From: Ivan Kirilov Dimitrov Date: Thu, 11 Jul 2024 10:22:34 +0200 Subject: [PATCH] use just instead of make --- Makefile => Justfile | 4 +--- nixos/modules/default.nix | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename Makefile => Justfile (78%) diff --git a/Makefile b/Justfile similarity index 78% rename from Makefile rename to Justfile index 193a3f6..fc22c64 100644 --- a/Makefile +++ b/Justfile @@ -1,11 +1,9 @@ -.PHONY: default all home nixos update clean music nonya - default: all all: home nixos home: - home-manager switch --flake ./. -b $$(mktemp -u XXXX) + home-manager switch --flake ./. -b $(mktemp -u XXXX) nixos: doas nixos-rebuild switch --flake ./. diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index ef589e1..0ef421c 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -19,7 +19,7 @@ top@{ moduleWithSystem, ... }: { time.timeZone = "Europe/Prague"; fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) noto-fonts noto-fonts-emoji noto-fonts-lgc-plus ]; environment = { - systemPackages = with pkgs; [ cmatrix uutils-coreutils cryptsetup fd file git glibc gnumake mlocate moreutils openssh openssl procs ripgrep srm unzip vim zip ]; + systemPackages = with pkgs; [ cmatrix uutils-coreutils cryptsetup fd file git glibc gnumake mlocate moreutils openssh openssl procs ripgrep srm unzip vim zip just ]; shells = with pkgs; [ zsh nushell ]; }; programs = { zsh.enable = true; nix-ld.enable = true; dconf.enable = true; };