2024-05-01 14:33:54 +00:00
|
|
|
# System configuration and packages for my personal NixOS setup
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
# include local machine/environment config
|
|
|
|
./local.nix
|
|
|
|
./programs
|
|
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
fishPlugins.tide
|
|
|
|
neovim
|
|
|
|
wget
|
|
|
|
git
|
|
|
|
htop
|
|
|
|
btop
|
|
|
|
dig
|
2024-05-01 15:13:32 +00:00
|
|
|
eza
|
2024-05-01 14:33:54 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
environment.shellAliases = {
|
|
|
|
vi = "nvim";
|
|
|
|
vim = "nvim";
|
2024-05-01 15:13:32 +00:00
|
|
|
ll = "eza -alo --group-directories-first";
|
|
|
|
tree = "eza -lT";
|
2024-05-01 14:33:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.direnv.enable = true;
|
|
|
|
users.defaultUserShell = pkgs.fish;
|
|
|
|
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
services.tailscale.useRoutingFeatures = "client";
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
|
|
|
|
}
|