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 result
vim/bundle/ vim/bundle/
tags* tags*

View File

@ -9,7 +9,17 @@
darwin.inputs.nixpkgs.follows = "nixpkgs"; darwin.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, home-manager, darwin }: { 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 { darwinConfigurations."ts-tl-mbp" = darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ]; modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ];

View File

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