dotfiles/nixos/boxes/cushy/default.nix

74 lines
1.6 KiB
Nix
Raw Normal View History

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