homefiles

This commit is contained in:
Tyrel Souza 2023-01-01 20:08:14 -05:00
parent 82334e825e
commit a25c5392f8
4 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.swp
result
vim/bundle/
tags*

View File

@ -9,7 +9,17 @@
darwin.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, darwin }: {
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
homeConfigurations = {
"tyrel" = home-manager.lib.homeManagerConfiguration {
system = "x86_64-darwin";
homeDirectory = "/Users/tyrel";
username = "tyrel";
configuration.imports = [ ./home.nix ];
};
};
darwinConfigurations."ts-tl-mbp" = darwin.lib.darwinSystem {
system = "x86_64-darwin";
modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ];

View File

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
services.nix-daemon.enable = true;
programs.zsh.enable = true;
system.defaults.dock.autohide = true;

11
hosts/ts-tl-mbp/home.nix Normal file
View File

@ -0,0 +1,11 @@
{ ... }: {
programs.home-manager.enable = true;
home.packages = [
];
programs.git = {
enable = true;
};
programs.nvim = {
enable = true;
};
}