2024-03-29 18:15:04 +00:00
|
|
|
{
|
2024-03-29 20:15:26 +00:00
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs,
|
2024-03-29 20:24:51 +00:00
|
|
|
config,
|
2024-03-29 20:15:26 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-03-29 21:02:18 +00:00
|
|
|
_7zz
|
|
|
|
git
|
|
|
|
htop
|
|
|
|
jq
|
2024-03-29 20:15:26 +00:00
|
|
|
nix-output-monitor
|
2024-03-29 20:24:51 +00:00
|
|
|
openssh
|
2024-03-29 21:02:18 +00:00
|
|
|
ripgrep
|
|
|
|
wormhole-rs
|
2024-03-29 20:15:26 +00:00
|
|
|
];
|
2024-03-29 18:15:04 +00:00
|
|
|
|
2024-03-31 01:19:28 +00:00
|
|
|
environment.variables.EDITOR = "nvim";
|
|
|
|
|
2024-03-29 18:15:04 +00:00
|
|
|
services.nix-daemon.enable = true;
|
|
|
|
programs = {
|
2024-03-29 20:24:51 +00:00
|
|
|
fish = {
|
|
|
|
enable = true;
|
|
|
|
loginShellInit = ''
|
|
|
|
fish_add_path --move --prepend --path ${
|
|
|
|
lib.escapeShellArgs (builtins.map (profile: "${profile}/bin") config.environment.profiles)
|
|
|
|
}
|
|
|
|
set fish_user_paths $fish_user_paths
|
|
|
|
'';
|
|
|
|
};
|
2024-03-29 18:15:04 +00:00
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-29 20:15:26 +00:00
|
|
|
users.users.artemis = {
|
|
|
|
name = "artemis";
|
|
|
|
home = "/Users/artemis";
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.artemis = {
|
2024-03-29 20:45:53 +00:00
|
|
|
imports = [
|
|
|
|
../../home/fish.nix
|
|
|
|
../../home/git.nix
|
|
|
|
../../home/ssh
|
|
|
|
../../home/tmux.nix
|
2024-03-29 23:52:02 +00:00
|
|
|
inputs.nix-index-database.hmModules.nix-index
|
2024-03-29 20:45:53 +00:00
|
|
|
];
|
2024-03-29 23:52:02 +00:00
|
|
|
programs.nix-index-database.comma.enable = true;
|
|
|
|
|
2024-03-29 20:15:26 +00:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
2024-03-29 20:45:53 +00:00
|
|
|
programs.git = {
|
|
|
|
signing.key = "/Users/artemis/.ssh/id_ecdsa_sk";
|
|
|
|
extraConfig.gpg.format = "ssh";
|
|
|
|
};
|
2024-03-29 20:15:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
environment.loginShell = "${pkgs.fish}/bin/fish";
|
|
|
|
|
2024-03-29 18:15:04 +00:00
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
|
|
|
2024-03-29 20:15:26 +00:00
|
|
|
nixpkgs.overlays = [ inputs.lix-module.overlays.default ];
|
|
|
|
|
2024-03-29 18:15:04 +00:00
|
|
|
nixpkgs.hostPlatform = "x86_64-darwin";
|
2024-03-29 20:15:26 +00:00
|
|
|
system.stateVersion = 4;
|
|
|
|
home-manager.users.artemis.home.stateVersion = "23.11";
|
2024-03-29 18:15:04 +00:00
|
|
|
}
|