nix-config/flake.nix
larstvei de6f0c5ca5 Remove custom Emacs build
Switching (updating) caused Emacs to build, which takes a couple of minutes.
This made is less tempting to update, leading to a bit more clutter.

It seems that I am sacrificing rounded corners and having the color theme sync
with the OS.
2024-03-28 01:56:03 +01:00

55 lines
1.3 KiB
Nix

{
description = "Lars' MacBook Pro";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixpkgs-22.05-darwin";
};
nixpkgs-unstable = {
url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs = { self, nixpkgs, darwin, home-manager, ... }@inputs: {
darwinConfigurations."larstvei-macbookpro" = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [
./modules/mac.nix
home-manager.darwinModule
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.larstvei = {
imports = [
./modules/home.nix
];
};
};
}
({ config, pkgs, lib, ... }: {
services.nix-daemon.enable = true;
nixpkgs = {
config.allowUnfree = true;
overlays = with inputs; [
(final: prev: {
maude-mac = final.callPackage ./pkgs/maude-mac { };
})
];
};
})
];
};
};
}