homefiles
This commit is contained in:
parent
82334e825e
commit
a25c5392f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
*.swp
|
||||||
result
|
result
|
||||||
vim/bundle/
|
vim/bundle/
|
||||||
tags*
|
tags*
|
||||||
|
10
flake.nix
10
flake.nix
@ -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 ];
|
||||||
|
@ -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
11
hosts/ts-tl-mbp/home.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
home.packages = [
|
||||||
|
];
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
programs.nvim = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user