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 = [
./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 #