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)
42 lines
978 B
Nix
42 lines
978 B
Nix
{ inputs, outputs, lib, pkgs, config, ... }:
|
|
|
|
{
|
|
environment.packages = with pkgs; [ ];
|
|
|
|
# Backup etc files instead of failing to activate generation if a file already exists in /etc
|
|
environment.etcBackupExtension = ".bak";
|
|
|
|
# Remove motd
|
|
environment.motd = null;
|
|
|
|
# # Set $EDITOR
|
|
# environment.variables.EDITOR = "nvim";
|
|
|
|
user.shell = "${pkgs.zsh}/bin/zsh";
|
|
|
|
# Read the changelog before changing this value
|
|
system.stateVersion = "22.11";
|
|
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
time.timeZone = "Europe/Sofia";
|
|
|
|
terminal.font =
|
|
let
|
|
firacode = pkgs.nerdfonts.override {
|
|
fonts = [ "FiraCode" ];
|
|
};
|
|
fontPath = "share/fonts/truetype/NerdFonts/Fira Code Regular Nerd Font Complete Mono.ttf";
|
|
in
|
|
"${firacode}/${fontPath}";
|
|
|
|
home-manager = {
|
|
config = ./home.nix;
|
|
backupFileExtension = "hm-bak";
|
|
# useGlobalPkgs = true;
|
|
|
|
extraSpecialArgs = { inherit inputs; };
|
|
};
|
|
}
|