From 555d4f33565f2241d0f57e1c8798f490b85f5f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 27 Feb 2024 10:15:40 +0100 Subject: [PATCH] Move some tools to homemanager --- home/default.nix | 1 + home/packages/default.nix | 25 +++++++++++++++++++++++++ system/users.nix | 18 ------------------ 3 files changed, 26 insertions(+), 18 deletions(-) create mode 100644 home/packages/default.nix diff --git a/home/default.nix b/home/default.nix index c3f4dd9..3b1af78 100644 --- a/home/default.nix +++ b/home/default.nix @@ -8,6 +8,7 @@ imports = [ ./programs/firefox ./zsh + ./packages ]; firefox.enable = true; home = { diff --git a/home/packages/default.nix b/home/packages/default.nix new file mode 100644 index 0000000..649f0c7 --- /dev/null +++ b/home/packages/default.nix @@ -0,0 +1,25 @@ +{ pkgs, ...}: { + home.packages = with pkgs; [ + # Generic tools + btop + jq + ncdu + ripgrep + tokei + unzip + yt-dlp + + # Editors + vscode + + # Go stuff + go + delve + gopls + + # Py stuff + python3 + poetry + ruff + ]; +} diff --git a/system/users.nix b/system/users.nix index 64d6fab..2cdce6a 100644 --- a/system/users.nix +++ b/system/users.nix @@ -13,24 +13,6 @@ extraGroups = [ "wheel" "networkmanager" ]; # Install some user packages packages = with pkgs; [ - # Editors - vscode - - # Python stuff - python3 - ruff - poetry - - # Go stuff - go - delve - gopls - - # Generic stuff - tokei - ripgrep - jq - # Hyprland stuff rofi-wayland swaylock