Compare commits
2 Commits
3b1475fefc
...
82334e825e
Author | SHA1 | Date | |
---|---|---|---|
|
82334e825e | ||
|
c2911a9080 |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
result
|
||||
vim/bundle/
|
||||
tags*
|
||||
vim/view
|
||||
|
|
13
flake.lock
13
flake.lock
|
@ -16,7 +16,6 @@
|
|||
},
|
||||
"original": {
|
||||
"owner": "lnl7",
|
||||
"ref": "master",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -44,16 +43,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1672441599,
|
||||
"narHash": "sha256-5s/aa/0cpw6MNXQSiUedDnnMVleL/WThL8Q8jYNcc+g=",
|
||||
"owner": "nixos",
|
||||
"lastModified": 1672500394,
|
||||
"narHash": "sha256-yzwBzCoeRBoRzm7ySHhm72kBG0QjgFalLz2FY48iLI4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0c5a734cdeadc39d253018ad0f83fb77eac7ab08",
|
||||
"rev": "feda52be1d59f13b9aa02f064b4f14784b9a06c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-22.05-darwin",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-22.11-darwin",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
20
flake.nix
20
flake.nix
|
@ -1,23 +1,19 @@
|
|||
{
|
||||
description = "Tyrel Nix";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-22.05-darwin";
|
||||
darwin.url = "github:lnl7/nix-darwin/master";
|
||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.11-darwin";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
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.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, darwin }: {
|
||||
outputs = { self, nixpkgs, home-manager, darwin }: {
|
||||
darwinConfigurations."ts-tl-mbp" = darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ]; # will be important later
|
||||
modules = [ home-manager.darwinModules.home-manager ./hosts/ts-tl-mbp/default.nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -8,20 +8,20 @@
|
|||
home-manager.useUserPackages = true;
|
||||
home-manager.users.tyrel = { pkgs, ... }: {
|
||||
home.stateVersion = "22.05";
|
||||
programs.tmux = { # my tmux configuration, for example
|
||||
enable = true;
|
||||
keyMode = "vi";
|
||||
clock24 = true;
|
||||
historyLimit = 10000;
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
vim-tmux-navigator
|
||||
gruvbox
|
||||
];
|
||||
extraConfig = ''
|
||||
new-session -s main
|
||||
bind-key -n C-a send-prefix
|
||||
'';
|
||||
};
|
||||
#programs.tmux = { # my tmux configuration, for example
|
||||
# enable = true;
|
||||
# keyMode = "vi";
|
||||
# clock24 = true;
|
||||
# historyLimit = 10000;
|
||||
# plugins = with pkgs.tmuxPlugins; [
|
||||
# vim-tmux-navigator
|
||||
# gruvbox
|
||||
# ];
|
||||
# extraConfig = ''
|
||||
# new-session -s main
|
||||
# bind-key -n C-a send-prefix
|
||||
# '';
|
||||
#};
|
||||
};
|
||||
homebrew = {
|
||||
enable = true;
|
||||
|
@ -31,6 +31,7 @@
|
|||
casks = [
|
||||
"alfred"
|
||||
"discord"
|
||||
"neovim"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user