dev env tweaks

This commit is contained in:
Matthew Bessette 2024-07-25 23:42:48 -04:00
parent 6c8776b68a
commit 5ab57d19ff
1 changed files with 12 additions and 3 deletions

View File

@ -1,9 +1,10 @@
{ config, inputs, pkgs, ... }: { config, inputs, pkgs, system, ... }:
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../nixos-modules ../../nixos-modules
inputs.home-manager.nixosModules.default
inputs.vscode-server.nixosModules.default inputs.vscode-server.nixosModules.default
]; ];
@ -57,14 +58,23 @@
# MUTABLE # # MUTABLE #
########### ###########
home-manager = {
extraSpecialArgs = { inherit inputs; inherit system; };
backupFileExtension = "backup";
users.mbessette = import ./home.nix;
};
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
earthly
git git
nodejs_22 nodejs_20
vim vim
]; ];
@ -80,7 +90,6 @@
############ ############
programs.zsh.enable = true; programs.zsh.enable = true;
programs.earthly.enable = true;
############ ############
# SERVICES # # SERVICES #