This commit is contained in:
Tyrel Souza 2023-01-01 19:47:41 -05:00
parent c2911a9080
commit 82334e825e
4 changed files with 30 additions and 29 deletions

1
.gitignore vendored
View File

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

View File

@ -43,16 +43,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1672441599, "lastModified": 1672500394,
"narHash": "sha256-5s/aa/0cpw6MNXQSiUedDnnMVleL/WThL8Q8jYNcc+g=", "narHash": "sha256-yzwBzCoeRBoRzm7ySHhm72kBG0QjgFalLz2FY48iLI4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0c5a734cdeadc39d253018ad0f83fb77eac7ab08", "rev": "feda52be1d59f13b9aa02f064b4f14784b9a06c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixpkgs-22.05-darwin", "ref": "nixpkgs-22.11-darwin",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -1,20 +1,19 @@
{ {
description = "Tyrel Nix"; description = "Tyrel Nix";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.05-darwin"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.11-darwin";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# nix will normally use the nixpkgs defined in home-managers inputs, we only want one copy of nixpkgs though darwin.url = "github:lnl7/nix-darwin";
darwin.url = "github:lnl7/nix-darwin"; darwin.inputs.nixpkgs.follows = "nixpkgs";
darwin.inputs.nixpkgs.follows = "nixpkgs"; };
};
outputs = { self, nixpkgs, home-manager, darwin }: {
outputs = { self, nixpkgs, home-manager, darwin }: { 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 ]; # will be important later };
}; };
};
} }

View File

@ -23,15 +23,16 @@
# ''; # '';
#}; #};
}; };
#homebrew = { homebrew = {
# enable = true; enable = true;
# autoUpdate = true; autoUpdate = true;
# # updates homebrew packages on activation, # updates homebrew packages on activation,
# # can make darwin-rebuild much slower (otherwise i'd forget to do it ever though) # can make darwin-rebuild much slower (otherwise i'd forget to do it ever though)
# casks = [ casks = [
# "alfred" "alfred"
# "discord" "discord"
# ]; "neovim"
#}; ];
};
} }