Last active
November 30, 2023 21:07
-
-
Save jjant/2c28dbf3ec18067ae95351b3cbb018b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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