add cushy
Some checks failed
use nix / build (push) Failing after 3m49s

This commit is contained in:
Cyryl Płotnicki 2024-09-27 11:25:11 +01:00
parent a87b12fdd5
commit b8c8f8e597
3 changed files with 94 additions and 0 deletions

View file

@ -167,6 +167,30 @@
# Expose the package set, including overlays, for convenience. # Expose the package set, including overlays, for convenience.
darwinPackages = self.darwinConfigurations."airy".pkgs; darwinPackages = self.darwinConfigurations."airy".pkgs;
darwinConfigurations = { darwinConfigurations = {
"cushy" = darwin.lib.darwinSystem rec {
system = "aarch64-darwin";
modules = [
lix-module.nixosModules.default
(./. + "/nixos/boxes/cushy")
{users.users.cyryl.home = "/Users/Cyryl.Plotnicki";}
home-manager.darwinModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users."Cyryl\.Plotnicki" = {
home.homeDirectory = "/Users/Cyryl.Plotnicki";
programs.zsh.loginExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
imports = [./nixos/home-manager];
_module.args.inputs = inputs;
_module.args.system = system;
};
};
}
];
};
"airy" = darwin.lib.darwinSystem rec { "airy" = darwin.lib.darwinSystem rec {
system = "aarch64-darwin"; system = "aarch64-darwin";
modules = [ modules = [

View file

@ -0,0 +1,2 @@
https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/6

View file

@ -0,0 +1,68 @@
{
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"
"jetbrains-toolbox"
"maccy"
"zed"
];
homebrew.brews = [
"autoconf"
"automake"
"guile"
"libtool"
{
name = "libvirt";
restart_service = true;
}
"qemu"
"texinfo"
"wget"
];
home-manager.users."Cyryl\.Plotnicki" = {...}: {
imports = [
../../home-manager/programs/kitty.nix
];
home.sessionPath = ["$HOME/bin"];
home.packages = with pkgs; [];
programs = {
};
};
}