mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-06 06:58:41 +00:00
Many updates (#16)
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -8,13 +8,17 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
darwin = {
|
||||
url = "github:Smaug123/nix-darwin/extract";
|
||||
url = "github:lnl7/nix-darwin/master";
|
||||
# url = "github:Smaug123/nix-darwin/extract";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
emacs = {
|
||||
url = "github:nix-community/emacs-overlay";
|
||||
url = "github:nix-community/emacs-overlay/c8421fbdb7d831296ecb735c8a7f60964809c857";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sops-nix = {
|
||||
url = github:Mic92/sops-nix;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
@@ -23,10 +27,12 @@
|
||||
emacs,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
sops-nix,
|
||||
...
|
||||
} @ inputs: let
|
||||
config = {
|
||||
#contentAddressedByDefault = true;
|
||||
allowUnfree = true;
|
||||
};
|
||||
in let
|
||||
overlays = [emacs.overlay] ++ import ./overlays.nix;
|
||||
@@ -71,6 +77,7 @@
|
||||
};
|
||||
in [
|
||||
./darwin-configuration.nix
|
||||
sops-nix.nixosModules.sops
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
Reference in New Issue
Block a user