From 5ab57d19ffe53f5a0cb06ee89de8689f77e8b854 Mon Sep 17 00:00:00 2001 From: Matthew Bessette Date: Thu, 25 Jul 2024 23:42:48 -0400 Subject: [PATCH] dev env tweaks --- _hosts/bromine/configuration.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/_hosts/bromine/configuration.nix b/_hosts/bromine/configuration.nix index 3f2a8ee..0c3dab5 100644 --- a/_hosts/bromine/configuration.nix +++ b/_hosts/bromine/configuration.nix @@ -1,9 +1,10 @@ -{ config, inputs, pkgs, ... }: +{ config, inputs, pkgs, system, ... }: { imports = [ ./hardware-configuration.nix ../../nixos-modules + inputs.home-manager.nixosModules.default inputs.vscode-server.nixosModules.default ]; @@ -57,14 +58,23 @@ # MUTABLE # ########### + home-manager = { + extraSpecialArgs = { inherit inputs; inherit system; }; + backupFileExtension = "backup"; + users.mbessette = import ./home.nix; + }; + # Allow unfree packages nixpkgs.config.allowUnfree = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + earthly git - nodejs_22 + nodejs_20 vim ]; @@ -80,7 +90,6 @@ ############ programs.zsh.enable = true; - programs.earthly.enable = true; ############ # SERVICES #