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 = { homeConfigurations = {
sweetbread = home-manager.lib.homeManagerConfiguration { sweetbread = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit inputs; };
modules = [ modules = [
./home-manager/users/sweetbread/home.nix ./home-manager/users/sweetbread/home.nix
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops

View File

@ -1,13 +1,52 @@
{ { pkgs, inputs, ... }: {
imports = [ imports = [
./zsh.nix ./zsh.nix
./modules/bundle.nix ./modules/bundle.nix
]; ];
nixpkgs.config.allowUnfree = true;
home = { home = {
username = "sweetbread"; username = "sweetbread";
homeDirectory = "/home/sweetbread"; homeDirectory = "/home/sweetbread";
stateVersion = "23.11"; 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; [ 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 # CLI utils
file file
tree tree
@ -39,15 +13,10 @@
btop btop
nix-index nix-index
unzip unzip
scrot
ffmpeg
light
yazi yazi
zram-generator zram-generator
zip zip
ntfs3g ntfs3g
yt-dlp
brightnessctl
openssl openssl
lazygit lazygit
bluez bluez
@ -57,7 +26,6 @@
hexyl hexyl
jq jq
tldr tldr
bat
xdg-utils xdg-utils
helix helix
playerctl playerctl
@ -70,11 +38,6 @@
gromit-mpx gromit-mpx
notify-desktop notify-desktop
# Xorg stuff
#xterm
#xclip
#xorg.xbacklight
# Wayland stuff # Wayland stuff
xwayland xwayland
wl-clipboard wl-clipboard
@ -99,13 +62,6 @@
rocm-opencl-icd rocm-opencl-icd
glaxnimate glaxnimate
# Screenshotting
grim
grimblast
slurp
flameshot
swappy
# Other # Other
home-manager home-manager
spice-vdagent spice-vdagent