grr
This commit is contained in:
parent
3b1475fefc
commit
c2911a9080
@ -16,7 +16,6 @@
|
|||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"ref": "master",
|
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@ -46,13 +45,13 @@
|
|||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1672441599,
|
"lastModified": 1672441599,
|
||||||
"narHash": "sha256-5s/aa/0cpw6MNXQSiUedDnnMVleL/WThL8Q8jYNcc+g=",
|
"narHash": "sha256-5s/aa/0cpw6MNXQSiUedDnnMVleL/WThL8Q8jYNcc+g=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0c5a734cdeadc39d253018ad0f83fb77eac7ab08",
|
"rev": "0c5a734cdeadc39d253018ad0f83fb77eac7ab08",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixpkgs-22.05-darwin",
|
"ref": "nixpkgs-22.05-darwin",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
|
15
flake.nix
15
flake.nix
@ -2,15 +2,12 @@
|
|||||||
description = "Tyrel Nix";
|
description = "Tyrel Nix";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-22.05-darwin";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-22.05-darwin";
|
||||||
darwin.url = "github:lnl7/nix-darwin/master";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
darwin.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";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
darwin.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
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, darwin }: {
|
outputs = { self, nixpkgs, home-manager, darwin }: {
|
||||||
|
@ -8,30 +8,30 @@
|
|||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.tyrel = { pkgs, ... }: {
|
home-manager.users.tyrel = { pkgs, ... }: {
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
programs.tmux = { # my tmux configuration, for example
|
#programs.tmux = { # my tmux configuration, for example
|
||||||
enable = true;
|
# enable = true;
|
||||||
keyMode = "vi";
|
# keyMode = "vi";
|
||||||
clock24 = true;
|
# clock24 = true;
|
||||||
historyLimit = 10000;
|
# historyLimit = 10000;
|
||||||
plugins = with pkgs.tmuxPlugins; [
|
# plugins = with pkgs.tmuxPlugins; [
|
||||||
vim-tmux-navigator
|
# vim-tmux-navigator
|
||||||
gruvbox
|
# gruvbox
|
||||||
];
|
# ];
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
new-session -s main
|
# new-session -s main
|
||||||
bind-key -n C-a send-prefix
|
# bind-key -n C-a send-prefix
|
||||||
'';
|
# '';
|
||||||
};
|
#};
|
||||||
};
|
|
||||||
homebrew = {
|
|
||||||
enable = true;
|
|
||||||
autoUpdate = true;
|
|
||||||
# updates homebrew packages on activation,
|
|
||||||
# can make darwin-rebuild much slower (otherwise i'd forget to do it ever though)
|
|
||||||
casks = [
|
|
||||||
"alfred"
|
|
||||||
"discord"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
#homebrew = {
|
||||||
|
# enable = true;
|
||||||
|
# autoUpdate = true;
|
||||||
|
# # updates homebrew packages on activation,
|
||||||
|
# # can make darwin-rebuild much slower (otherwise i'd forget to do it ever though)
|
||||||
|
# casks = [
|
||||||
|
# "alfred"
|
||||||
|
# "discord"
|
||||||
|
# ];
|
||||||
|
#};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user