88 lines
1.6 KiB
Nix
88 lines
1.6 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
nixpkgs-nixos-unstable-and-unfree,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../git
|
|
../../helix
|
|
../../mercurial
|
|
../../vim
|
|
../../zsh
|
|
];
|
|
services.nix-daemon.enable = true;
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
|
|
programs.zsh.enable = true; # default shell on catalina
|
|
|
|
system.stateVersion = 4;
|
|
|
|
# The platform the configuration will be used on.
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
|
|
fonts.packages = with pkgs; [
|
|
inconsolata
|
|
(fetchzip {
|
|
url = "file://" + ../../fonts/berkeley.tar.xz;
|
|
sha256 = "sha256-nsDqdQikT65vJVMq7r2MAOxd3xqj8vJ0Ky2y9CfI/bg==";
|
|
})
|
|
(fetchzip {
|
|
url = "file://" + ../../fonts/tragicastle.tar.xz;
|
|
sha256 = "sha256-AjvaPmjlyDjBDxeVp1A1yPin0FrwbBib87ywF4GHqS0=";
|
|
})
|
|
];
|
|
|
|
homebrew.enable = true;
|
|
homebrew.casks = [
|
|
"caffeine"
|
|
"firefox"
|
|
"istat-menus"
|
|
"jetbrains-toolbox"
|
|
"little-snitch"
|
|
"maccy"
|
|
"ollama"
|
|
"protonmail-bridge"
|
|
"signal"
|
|
"steam"
|
|
"tailscale"
|
|
"teamviewer"
|
|
"utm"
|
|
"vlc"
|
|
"vnc-viewer"
|
|
"zed"
|
|
"zoom"
|
|
];
|
|
homebrew.brews = [
|
|
"autoconf"
|
|
"automake"
|
|
"guile"
|
|
"libtool"
|
|
"autoconf-archive"
|
|
"ccache"
|
|
"cmake"
|
|
"ffmpeg"
|
|
"nasm"
|
|
"ninja"
|
|
"pkg-config"
|
|
{
|
|
name = "libvirt";
|
|
restart_service = true;
|
|
}
|
|
"qemu"
|
|
"texinfo"
|
|
"wget"
|
|
];
|
|
home-manager.users.cyryl = {...}: {
|
|
imports = [
|
|
../../home-manager/programs/kitty.nix
|
|
];
|
|
home.sessionPath = ["$HOME/bin"];
|
|
home.packages = with pkgs; [];
|
|
programs = {
|
|
};
|
|
};
|
|
}
|