2022-11-20 16:23:58 +01:00
|
|
|
{ inputs, outputs, lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
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";
|
|
|
|
|
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
|
|
|
|
system.stateVersion = "22.05";
|
|
|
|
|
|
|
|
nix.extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Sofia";
|
|
|
|
|
2022-11-26 02:59:32 +01:00
|
|
|
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}";
|
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
home-manager = {
|
|
|
|
config = ./home.nix;
|
|
|
|
backupFileExtension = "hm-bak";
|
2022-11-21 08:52:42 +01:00
|
|
|
# useGlobalPkgs = true;
|
2022-11-20 16:23:58 +01:00
|
|
|
|
2022-11-21 13:42:45 +01:00
|
|
|
extraSpecialArgs = { inherit inputs; };
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
}
|