57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
ripgrep
|
|
nix-output-monitor
|
|
];
|
|
|
|
services.nix-daemon.enable = true;
|
|
programs = {
|
|
fish.enable = true;
|
|
zsh.enable = true;
|
|
};
|
|
|
|
users.users.artemis = {
|
|
name = "artemis";
|
|
home = "/Users/artemis";
|
|
};
|
|
|
|
home-manager.users.artemis = {
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
|
|
imports = [
|
|
inputs.nixvim.nixDarwinModules.nixvim
|
|
(import ../../sets/nvim.nix {
|
|
inherit lib;
|
|
path = [
|
|
"programs"
|
|
"nixvim"
|
|
];
|
|
})
|
|
];
|
|
programs.nixvim.enable = true;
|
|
programs.nixvim.plugins.lsp.enable = false;
|
|
|
|
environment.loginShell = "${pkgs.fish}/bin/fish";
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
|
|
nixpkgs.overlays = [ inputs.lix-module.overlays.default ];
|
|
|
|
nixpkgs.hostPlatform = "x86_64-darwin";
|
|
system.stateVersion = 4;
|
|
home-manager.users.artemis.home.stateVersion = "23.11";
|
|
}
|