Include NixOS into configuration #2

Merged
wymiller merged 18 commits from nixos-snapshot-09092024 into master 2024-11-17 17:16:08 -06:00
4 changed files with 85 additions and 0 deletions
Showing only changes of commit 9a435da5e3 - Show all commits

52
home/packages/common.nix Normal file
View File

@ -0,0 +1,52 @@
{pkgs, ...}: {
home.packages = with pkgs; [
nnn # terminal file manager
# archives
zip
xz
unzip
p7zip
# utils
zellij
tmux
bat
lazygit
bottom
ripgrep
jq
yq-go
fzf
fh
aria2
yt-dlp
imv
xdg-utils
obsidian
vscode
weechat
# misc
cowsay
file
which
tree
gnutar
gnupg
nerdfonts
zoxide
babelfish
# language-specific package managers
nodejs
cargo
python3
# nix specific stuff
nixd
deadnix
alejandra
statix
];
}

11
home/packages/darwin.nix Normal file
View File

@ -0,0 +1,11 @@
{
pkgs,
lib,
...
}: {
home.packages = lib.mkIf pkgs.stdenv.isDarwin (with pkgs; [
iterm2
discord
ollama
]);
}

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

@ -0,0 +1,11 @@
{
pkgs,
lib,
...
}: {
imports = [
./common.nix
./darwin.nix
./linux.nix
];
}

11
home/packages/linux.nix Normal file
View File

@ -0,0 +1,11 @@
{
pkgs,
lib,
...
}: {
home.packages = lib.mkIf pkgs.stdenv.isLinux (with pkgs; [
imv
betterdiscordctl
vesktop
]);
}