dotfiles/nixos/boxes/cushy/default.nix
Cyryl Płotnicki 7ef2038d9f
Some checks failed
use nix / build (push) Failing after 4m16s
add awscli on cushy
2024-10-25 10:41:27 +01:00

73 lines
1.6 KiB
Nix

{
config,
pkgs,
inputs,
lib,
nixpkgs-nixos-unstable-and-unfree,
...
}: {
local.username = "Cyryl.Plotnicki";
imports = [
../../zsh
../../git
../../helix
];
services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes";
nix.settings.ssl-cert-file = "/etc/nix/ca_cert.pem";
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"
"jetbrains-toolbox"
"maccy"
"utm"
"zed"
];
homebrew.brews = [
"awscli"
"autoconf"
"automake"
"guile"
"libtool"
{
name = "libvirt";
restart_service = true;
}
"qemu"
"texinfo"
"wget"
];
home-manager.users."Cyryl.Plotnicki" = {...}: {
imports = [
../../home-manager/programs/kitty.nix
];
programs.kitty.settings.hide_window_decorations = lib.mkForce false;
home.sessionPath = ["$HOME/bin" "/Users/Cyryl.Plotnicki/Library/Application Support/JetBrains/Toolbox/scripts"];
home.packages = with pkgs; [];
programs = {
git.userEmail = "cyryl.plotnicki@cushon.co.uk";
};
};
}