nix-config

My personal nixos and home-manager configuration
Log | Files | Refs | README

minimal.nix (486B)


      1 { pkgs, lib, ... }:
      2 
      3 with lib;
      4 let
      5   libExtra = import ../../lib { inherit lib; };
      6   scripts = libExtra.mapOnDirRec ../scripts (name: a:
      7     libExtra.createScriptFile name "${toString ../scripts}/${name}"
      8   );
      9 in
     10 {
     11   home.stateVersion = "20.09";
     12 
     13   imports = [
     14     ../modules
     15   ];
     16 
     17   home.file = scripts;
     18 
     19   git.enable = true;
     20   neovim.enable = true;
     21   starship.enable = true;
     22   zsh = {
     23     enable = true;
     24     editor = "nvim";
     25   };
     26 
     27   home.packages = with pkgs; [
     28     bc
     29     fzf
     30   ];
     31 }