Move some tools to homemanager

This commit is contained in:
Torjus Håkestad 2024-02-27 10:15:40 +01:00
parent df883ff558
commit 555d4f3356
3 changed files with 26 additions and 18 deletions

View File

@ -8,6 +8,7 @@
imports = [ imports = [
./programs/firefox ./programs/firefox
./zsh ./zsh
./packages
]; ];
firefox.enable = true; firefox.enable = true;
home = { home = {

25
home/packages/default.nix Normal file
View File

@ -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
];
}

View File

@ -13,24 +13,6 @@
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" ];
# Install some user packages # Install some user packages
packages = with pkgs; [ packages = with pkgs; [
# Editors
vscode
# Python stuff
python3
ruff
poetry
# Go stuff
go
delve
gopls
# Generic stuff
tokei
ripgrep
jq
# Hyprland stuff # Hyprland stuff
rofi-wayland rofi-wayland
swaylock swaylock