From 73e969d5ede0a69b021cce1fcb7218a2680a639b Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 4 Nov 2024 21:31:25 -0800 Subject: [PATCH] feat(nix): Move nix language packages to languages/nix --- home/default.nix | 2 -- home/languages/default.nix | 1 + home/languages/nix.nix | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 home/languages/nix.nix diff --git a/home/default.nix b/home/default.nix index 0e8daa9..797c233 100644 --- a/home/default.nix +++ b/home/default.nix @@ -46,8 +46,6 @@ systemd.user.startServices = true; home.packages = with pkgs; [ - nixfmt-rfc-style - nil just ]; diff --git a/home/languages/default.nix b/home/languages/default.nix index 0be42a6..6446148 100644 --- a/home/languages/default.nix +++ b/home/languages/default.nix @@ -3,6 +3,7 @@ imports = [ ./javascript.nix ./go.nix + ./nix.nix ./php.nix ]; } diff --git a/home/languages/nix.nix b/home/languages/nix.nix new file mode 100644 index 0000000..c8d5742 --- /dev/null +++ b/home/languages/nix.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + nixfmt-rfc-style + nil + ]; +}