-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacos-home.nix
50 lines (40 loc) · 1.2 KB
/
macos-home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ pkgs, lib, nixpkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
(self: super: {
kitty = pkgs.runCommandLocal "no-kitty" { } "mkdir $out";
# kitty = pkgs.kitty.overrideAttrs (old: { NIX_CFLAGS_COMPILE = "-Wno-error -Wno-deprecated-declarations -Wnodeprecated-declarations"; });
})
];
imports = [
./shared/fzf.nix
./shared/git.nix
./shared/kitty.nix
./shared/starship.nix
./shared/vim.nix
./shared/nvim.nix
./shared/wezterm.nix
./shared/bash.nix
# ./shared/emacs.nix
];
# programs.kitty.package = (pkgs.kitty) (old: { NIX_CFLAGS_COMPILE = "-Wno-error"; });
#nixpkgs.kitty = pkgs.kitty.overrideAttrs (old: { NIX_CFLAGS_COMPILE = "-Wno-error"; });
#programs.kitty.settings.font_size = 13;
home.packages = with pkgs; [
# macos specific packages here.
#neovim-nightly
] ++ (import ./shared/core-pkgs.nix pkgs);
home.sessionVariables = {
EDITOR = "vim";
NON_NIX_OS = true;
MACOS = true;
};
programs.home-manager = {
enable = true;
path = "…";
};
}