2023-02-12 23:33:57 +01:00
|
|
|
{ inputs, outputs, lib, pkgs, config, ... }:
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
{
|
2023-02-12 23:33:57 +01:00
|
|
|
environment.packages = with pkgs; [ ];
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
|
2022-11-24 01:16:02 +01:00
|
|
|
user.shell = "${pkgs.zsh}/bin/zsh";
|
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
# Read the changelog before changing this value
|
2022-12-04 20:55:48 +01:00
|
|
|
system.stateVersion = "22.11";
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
nix.extraOptions = ''
|
2024-05-04 21:39:09 +02:00
|
|
|
experimental-features = nix-command flakes recursive-nix
|
2023-02-17 02:21:03 +01:00
|
|
|
keep-outputs = true
|
|
|
|
keep-derivations = true
|
2022-11-20 16:23:58 +01:00
|
|
|
'';
|
|
|
|
|
2024-06-01 23:53:34 +02:00
|
|
|
nix.package = pkgs.nixVersions.monitored.latest;
|
2024-01-04 00:04:50 +01:00
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
time.timeZone = "Europe/Sofia";
|
|
|
|
|
2022-11-26 02:59:32 +01:00
|
|
|
terminal.font =
|
|
|
|
let
|
|
|
|
firacode = pkgs.nerdfonts.override {
|
|
|
|
fonts = [ "FiraCode" ];
|
|
|
|
};
|
2024-01-04 00:04:50 +01:00
|
|
|
fontPath = "share/fonts/truetype/NerdFonts/FiraCodeNerdFontMono-Regular.ttf";
|
2022-11-26 02:59:32 +01:00
|
|
|
in
|
2023-02-12 23:33:57 +01:00
|
|
|
"${firacode}/${fontPath}";
|
2022-11-20 16:23:58 +01:00
|
|
|
}
|