moving packages from base to home-manager

This commit is contained in:
Ivan Dimitrov 2023-08-09 23:28:48 +03:00
parent 1da3d8ef71
commit acbad778a4
3 changed files with 30 additions and 35 deletions

View File

@ -1,5 +1,9 @@
{ pkgs, lib, ... }: { { pkgs, lib, ... }: {
imports = [ ./programs ./packages ]; imports = [ ./programs ./packages ];
programs.home-manager = { enable = true; };
home = { home = {
username = "ivand"; username = "ivand";
homeDirectory = "/home/ivand"; homeDirectory = "/home/ivand";
@ -19,7 +23,6 @@
}; };
}; };
}; };
programs.home-manager = { enable = true; };
wayland = { wayland = {
windowManager.sway = { windowManager.sway = {

View File

@ -9,5 +9,31 @@
nixfmt nixfmt
sqlite sqlite
ripgrep ripgrep
xdg-user-dirs
wl-clipboard
wayland
tectonic
slurp
pinentry-qt
mupdf
mako
grim
gnome.cheese
gimp
firefox-devedition-bin
ffmpeg
nodePackages_latest.pnpm
rustup
lolcat
deno
nodejs_20
python311
python311Packages.pip
piper
poetry
thunderbird
tor-browser-bundle-bin
ungoogled-chromium
xdg-utils
]; ];
} }

View File

@ -57,57 +57,23 @@
busybox busybox
cmatrix cmatrix
coreutils-full coreutils-full
deno
fd fd
ffmpeg
firefox-devedition-bin
gimp
git git
glibc glibc
glxinfo
gnome.cheese
gnumake gnumake
grim
home-manager home-manager
jmtpfs
jq jq
libgccjit libgccjit
libmtp
lolcat
mako
mlocate mlocate
mupdf
nodePackages_latest.pnpm
nodejs_20
pinentry-qt
piper
poetry
python311
python311Packages.pip
rustup
slurp
tealdeer tealdeer
tectonic
thunderbird
tor-browser-bundle-bin
ungoogled-chromium
unzip unzip
vim vim
vimPlugins.nvchad
viu
wayland
wdisplays
wget wget
wl-clipboard
xdg-user-dirs
xdg-utils
zbar
zip zip
]; ];
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";
PNPM_HOME = "$HOME/.local/share/pnpm"; PNPM_HOME = "$HOME/.local/share/pnpm";
QT_QPA_PLATFORM = "wayland";
}; };
shells = with pkgs; [ zsh ]; shells = with pkgs; [ zsh ];
etc = { etc = {