refactoring

This commit is contained in:
Tyrel Souza 2023-01-01 22:44:45 -05:00
parent 8e34726bed
commit 6930921e6c
3 changed files with 10 additions and 21 deletions

View File

@ -8,18 +8,9 @@
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 }: {
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin; defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
homeConfigurations."ts-tl-mbp" = {
"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 = [ modules = [

View File

@ -5,8 +5,11 @@
casks = [ casks = [
"alfred" "alfred"
"discord" "discord"
"slack" "divvy"
"firefox"
"karabiner-elements" "karabiner-elements"
"slack"
"thunderbird"
]; ];
}; };
} }

View File

@ -5,13 +5,6 @@
home-manager.users.tyrel = { pkgs, ... }: { home-manager.users.tyrel = { pkgs, ... }: {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.stateVersion = "22.05"; home.stateVersion = "22.05";
#home.file = {
# bin.source = lib.file.mkOutOfStoreSymlink "../../bin";
#};
home.sessionVariables = { home.sessionVariables = {
PAGER = "less -R"; PAGER = "less -R";
EDITOR = "nvim"; EDITOR = "nvim";
@ -19,6 +12,8 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
ctags ctags
exa
bat
fzf fzf
ripgrep ripgrep
wget wget