~glorifiedgluer/monorepo

b5ca379d34cc29437ee52b32aa065ccfe0765699 — Victor Freire 1 year, 1 month ago a1ca420
dotfiles: refactor: create nix.conf automatically
1 files changed, 8 insertions(+), 2 deletions(-)

M dotfiles/home/home.nix
M dotfiles/home/home.nix => dotfiles/home/home.nix +8 -2
@@ 1,4 1,4 @@
{ config, inputs, username, nixpkgs, ... }:
{ config, pkgs, inputs, username, nixpkgs, ... }:

let
  inherit (inputs) nixColors;


@@ 8,7 8,13 @@ in
  colorscheme = nixColors.colorSchemes.monokai;
  fonts.fontconfig.enable = true;

  nix.registry.nixpkgs.flake = nixpkgs;
  nix = {
    registry.nixpkgs.flake = nixpkgs;
    extraOptions = ''
      experimental-features = nix-command flakes
    '';
    package = pkgs.nixUnstable;
  };

  home = {
    inherit username;