[tarro] Adds new config for tarro-mbp

This commit is contained in:
Drew Haven
2025-02-04 10:44:38 -08:00
parent 7a77470343
commit e65e2963e6
5 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{ config, pkgs, inputs, ... }:
{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ pkgs.vim
];
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Enable alternative shell support in nix-darwin.
programs.zsh.enable = true;
# Set Git commit hash for darwin-version.
system.configurationRevision = inputs.self.rev or inputs.self.dirtyRev or null;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 6;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin";
users.users.drew = {
name = "drew";
home = "/Users/drew";
};
}

View File

@@ -0,0 +1,16 @@
{ inputs, self, ... }:
inputs.nix-darwin.lib.darwinSystem {
modules = [
./configuration.nix
inputs.home-manager.darwinModules.home-manager
{
home-manager.users.drew = import ./drew.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs; };
}
];
specialArgs = {
inherit inputs;
inherit self;
};
}

View File

@@ -0,0 +1,18 @@
{ pkgs, self, ... }:
{
imports = [
../../../home-manager/features/shell.nix
../../../home-manager/features/terminal.nix
../../../home-manager/features/neovim.nix
];
home.username = "drew";
home.homeDirectory = "/Users/drew";
nix.settings.experimental-features = ["flakes" "nix-command"];
home.packages = with pkgs; [
];
home.stateVersion = "24.11";
}