Skip to content

Instantly share code, notes, and snippets.

@jjant
Last active November 30, 2023 21:07
Show Gist options
  • Save jjant/2c28dbf3ec18067ae95351b3cbb018b8 to your computer and use it in GitHub Desktop.
Save jjant/2c28dbf3ec18067ae95351b3cbb018b8 to your computer and use it in GitHub Desktop.
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nix-darwin, home-manager, nixpkgs, ... }@inputs: {
darwinConfigurations.endeavour = nix-darwin.lib.darwinSystem {
modules = [
({ pkgs, ... }: {
environment.systemPackages = [ pkgs.neovim ];
system.stateVersion = 4;
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
})
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment