reo101
2941536b80
Also stop passing `outputs` around, prefer `inputs.self` Also put all `auto_` in `readOnly` `internal` options - `autoModules`, `autoConfigurations` and `autoPackages` Do not export packages as overlay (causes an infinite recursion) - this is documented on the two places it has effect on -- in `./overlays/default.nix` and `./modules/flake/configurations.nix` -- in `autoConfigurations` we manually extend `pkgs` with the flake packages Allow packages to say what `systems` they are compatible with - See `./pkgs/swww/systems.nix` - disabled for all systems - See `./pkgs/pngpaste/systems.nix` - enabled only for `darwin` targets
63 lines
934 B
Nix
63 lines
934 B
Nix
{ inputs, lib, pkgs, config, ... }:
|
|
|
|
{
|
|
imports = [
|
|
inputs.wired.homeManagerModules.default
|
|
];
|
|
|
|
home = {
|
|
username = "jeeves";
|
|
homeDirectory = "/home/jeeves";
|
|
stateVersion = "23.05";
|
|
};
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
## Core
|
|
neovim
|
|
git
|
|
gnupg
|
|
pciutils # lspci
|
|
usbutils # lsusb
|
|
|
|
## Shell
|
|
# zsh
|
|
# starship
|
|
# zoxide
|
|
ripgrep
|
|
|
|
## Nix
|
|
direnv
|
|
|
|
## Torrents
|
|
tremc
|
|
|
|
## Rust
|
|
rustc
|
|
cargo
|
|
rust-analyzer
|
|
clang
|
|
openssl
|
|
pkg-config
|
|
];
|
|
|
|
reo101 = {
|
|
shell = {
|
|
enable = true;
|
|
direnv = true;
|
|
zoxide = true;
|
|
shells = [
|
|
"zsh"
|
|
"nushell"
|
|
];
|
|
};
|
|
};
|
|
|
|
home.file = {
|
|
".config/nvim" = {
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.local/src/reovim";
|
|
};
|
|
};
|
|
}
|