reo101
df9ce2d4e2
Update flake (`neovim-nightly-overlay` is fixed) Format all `.nix` files Unify package/module argument order: - `inputs`, `outputs`, `lib`, `pkgs`, `config`, ... Move Jellyfin config to a `NixOS` module (first one, yay) Add `direnv` to `reo101-shell` modules (was used, but not defined as wanted) - TODO: make it optional (module config options)
32 lines
882 B
Nix
32 lines
882 B
Nix
{ inputs, outputs, lib, pkgs, config, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [ ];
|
|
|
|
# environment.darwinConfig = builtins.toString ./configuration.nix;
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
services.nix-daemon.enable = true;
|
|
|
|
nix.package = pkgs.nix;
|
|
|
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
|
programs.zsh.enable = true; # default shell on catalina
|
|
|
|
# Fonts
|
|
fonts.fontDir.enable = true;
|
|
fonts.fonts = with pkgs; [
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
];
|
|
|
|
# Keyboard
|
|
system.keyboard.enableKeyMapping = true;
|
|
system.keyboard.remapCapsLockToEscape = true;
|
|
|
|
# Add ability to used TouchID for sudo authentication
|
|
security.pam.enableSudoTouchIdAuth = true;
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
# > darwin-rebuild changelog
|
|
system.stateVersion = 4;
|
|
}
|