feat: replace packages to home-manager

This commit is contained in:
Sweetbread 2024-09-23 00:23:24 +03:00
parent 9cd78f7a69
commit d837084361
3 changed files with 42 additions and 46 deletions

View File

@ -65,6 +65,7 @@
homeConfigurations = {
sweetbread = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit inputs; };
modules = [
./home-manager/users/sweetbread/home.nix
inputs.sops-nix.homeManagerModules.sops

View File

@ -1,13 +1,52 @@
{
{ pkgs, inputs, ... }: {
imports = [
./zsh.nix
./modules/bundle.nix
];
nixpkgs.config.allowUnfree = true;
home = {
username = "sweetbread";
homeDirectory = "/home/sweetbread";
stateVersion = "23.11";
packages = with pkgs; [
# Desktop apps
google-chrome
# inputs.ayugram-desktop.packages.${pkgs.system}.default
telegram-desktop
vesktop
obs-studio
mpv
obsidian
vscode
jetbrains.pycharm-community
jetbrains.idea-community
android-studio
thunderbird
# Coding stuff
cmake
gnumake
nodejs
(python3.withPackages (ps: with ps; [ requests bpython ]))
python311Packages.pip
rocmPackages.llvm.clang-tools-extra
rocmPackages.llvm.clang
ncurses
# CLI utils
scrot
ffmpeg
yt-dlp
bat
# GUI utils
feh
imv
gromit-mpx
notify-desktop
];
};
}

View File

@ -5,32 +5,6 @@
};
environment.systemPackages = with pkgs; [
# Desktop apps
google-chrome
inputs.ayugram-desktop.packages.${pkgs.system}.default
vesktop
obs-studio
mpv
kdenlive # Video editor
gparted # Needs in autj agent
obsidian
vscode
jetbrains.pycharm-community
jetbrains.idea-community
android-studio
thunderbird
# Coding stuff
gnumake
gcc
nodejs
python
(python3.withPackages (ps: with ps; [ requests bpython ]))
python311Packages.pip
rocmPackages.llvm.clang-tools-extra
rocmPackages.llvm.clang
ncurses
# CLI utils
file
tree
@ -39,15 +13,10 @@
btop
nix-index
unzip
scrot
ffmpeg
light
yazi
zram-generator
zip
ntfs3g
yt-dlp
brightnessctl
openssl
lazygit
bluez
@ -57,7 +26,6 @@
hexyl
jq
tldr
bat
xdg-utils
helix
playerctl
@ -70,11 +38,6 @@
gromit-mpx
notify-desktop
# Xorg stuff
#xterm
#xclip
#xorg.xbacklight
# Wayland stuff
xwayland
wl-clipboard
@ -99,13 +62,6 @@
rocm-opencl-icd
glaxnimate
# Screenshotting
grim
grimblast
slurp
flameshot
swappy
# Other
home-manager
spice-vdagent