Some cleanup from ChatGPT

This commit is contained in:
larstvei 2023-01-08 01:31:34 +01:00
parent aede6595d6
commit ba7db20589

View File

@ -2,26 +2,23 @@
description = "Lars' MacBook Pro"; description = "Lars' MacBook Pro";
inputs = { inputs = {
nixpkgs = { nixpkgs = {
url = "github:nixos/nixpkgs/nixpkgs-22.05-darwin"; url = "github:nixos/nixpkgs/nixpkgs-22.05-darwin";
}; };
nixpkgs-unstable = {
nixpkgs-unstable.url = github:NixOS/nixpkgs/nixpkgs-unstable; url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
# Nix-Darwin
darwin = { darwin = {
url = "github:LnL7/nix-darwin"; url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
# HM-manager for dotfile/user management
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
emacs = {
emacs.url = github:nix-community/emacs-overlay; url = "github:nix-community/emacs-overlay";
};
}; };
outputs = { self, nixpkgs, darwin, home-manager, ... }@inputs: { outputs = { self, nixpkgs, darwin, home-manager, ... }@inputs: {
@ -46,9 +43,7 @@
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nixpkgs = { nixpkgs = {
config.allowUnfree = true; config.allowUnfree = true;
overlays = with inputs; [ overlays = with inputs; [
emacs.overlays.emacs emacs.overlays.emacs
emacs.overlays.package emacs.overlays.package
@ -59,7 +54,6 @@
./patches/system-appearance.patch ./patches/system-appearance.patch
]; ];
})); }));
maude-mac = final.callPackage ./pkgs/maude-mac { }; maude-mac = final.callPackage ./pkgs/maude-mac { };
}) })
]; ];