added significant items
added fish shellInit, removed top level empty configuration, removed lib.mkIf logic for fish aliases
This commit is contained in:
parent
d6690e87b7
commit
08a543fabe
@ -1,7 +1,7 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
homebrew = import ./homebrew.nix;
|
||||
homebrew = import ./homebrew.nix // { enable = true; };
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
|
18
flake.lock
18
flake.lock
@ -56,11 +56,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1721135958,
|
||||
"narHash": "sha256-H548rpPMsn25LDKn1PCFmPxmWlClJJGnvdzImHkqjuY=",
|
||||
"lastModified": 1721534365,
|
||||
"narHash": "sha256-XpZOkaSJKdOsz1wU6JfO59Rx2fqtcarQ0y6ndIOKNpI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "afd2021bedff2de92dfce0e257a3d03ae65c603d",
|
||||
"rev": "635563f245309ef5320f80c7ebcb89b2398d2949",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -97,11 +97,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1721270582,
|
||||
"narHash": "sha256-MdZmYPPExntE5rJu88IhJSy8Um4UyZCTXhOwvzbjDVI=",
|
||||
"lastModified": 1721550066,
|
||||
"narHash": "sha256-wr6sSb+VpXy8HCvBqU6xvhpaARzWUbEK7uN5tLnqYDg=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "a3e4a7b8ffc08c7dc1973822a77ad432e1ec3dec",
|
||||
"rev": "33bf7df5bbfcbbb49e6559b0c96c9e3b26d14e58",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -128,11 +128,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1721303309,
|
||||
"narHash": "sha256-/+Yw4tW/mcTRKmkEAO64ObzCQClpSUZpk2flUD9GDHE=",
|
||||
"lastModified": 1721497942,
|
||||
"narHash": "sha256-EDPL9qJfklXoowl3nEBmjDIqcvXKUZInt5n6CCc1Hn4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7e2fb8e0eb807e139d42b05bf8e28da122396bed",
|
||||
"rev": "d43f0636fc9492e83be8bbb41f9595d7a87106b8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -13,8 +13,7 @@
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nix-darwin, home-manager, nixpkgs, mac-app-util }:
|
||||
let configuration = { pkgs, ... }: { };
|
||||
in {
|
||||
{
|
||||
# Build darwin flake using:
|
||||
# $ darwin-rebuild build --flake .#sephiroth
|
||||
darwinConfigurations."sephiroth" = nix-darwin.lib.darwinSystem {
|
||||
|
@ -14,11 +14,17 @@
|
||||
];
|
||||
|
||||
config = {
|
||||
programs.home-manager.enable = true;
|
||||
fonts.fontconfig.enable = true;
|
||||
home.stateVersion = "24.05";
|
||||
home.username = "wyatt";
|
||||
home.homeDirectory = "/Users/wyatt";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
babelfish
|
||||
obsidian
|
||||
tmux
|
||||
zoxide
|
||||
wget
|
||||
nerdfonts
|
||||
@ -36,8 +42,5 @@
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
};
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
|
||||
config = {
|
||||
global = {
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
programs.fish = {
|
||||
shellAliases = {
|
||||
|
@ -8,5 +8,10 @@
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellInit = "
|
||||
if test -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
|
||||
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
|
||||
end
|
||||
";
|
||||
};
|
||||
}
|
||||
|
@ -3,5 +3,7 @@
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
||||
# nvim configuration here soon!
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user