mirror of
https://github.com/wlcx/home.git
synced 2026-09-28 18:38:23 +01:00
Add flake.nix
Add a new flake.nix for this repo, having extracted it from nixos-configs. Add packages.nix copied from nixos-configs, as I accidentally removed it while filtering to create this repo.
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let mypkgs = pkgs.callPackage ../modules/pkgs.nix { };
|
||||
let packages = pkgs.callPackage ./packages.nix {};
|
||||
in {
|
||||
home.packages = mypkgs.all;
|
||||
home.packages = packages.all;
|
||||
home.sessionVariables = {
|
||||
"PATH" = "$HOME/.local/bin:$PATH";
|
||||
"EDITOR" = "vim";
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{ pkgs }:
|
||||
with pkgs; rec {
|
||||
# The stuff you want installed everywhere. The necessities.
|
||||
base = [
|
||||
bat # cat replacement, aliased to cat in home-manager
|
||||
file
|
||||
git
|
||||
htop
|
||||
lsof
|
||||
mosh
|
||||
tmux
|
||||
unzip
|
||||
vim
|
||||
wget
|
||||
];
|
||||
|
||||
# Networking shit
|
||||
net = [ iperf3 nmap socat tcpdump ];
|
||||
|
||||
# development tools
|
||||
dev = [ jq nixfmt gh glab hexyl ];
|
||||
|
||||
all = (base ++ net ++ dev);
|
||||
}
|
||||
Reference in New Issue
Block a user