Replace overlays.nix with packages/default.nix

This commit is contained in:
Henrik Lissner 2020-04-06 23:07:06 -04:00
parent 4bc88b4548
commit e3dea95e9c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 16 additions and 6 deletions

View file

@ -17,11 +17,21 @@ device: username:
"bin=/etc/dotfiles/bin"
"config=/etc/dotfiles/config"
];
# Add custom packages & unstable channel, so they can be accessed via pkgs.*
nixpkgs.overlays = import ./overlays.nix;
nixpkgs.overlays = import ./packages;
nixpkgs.config.allowUnfree = true; # forgive me Stallman senpai
environment.systemPackages = with pkgs; [
# Just the bear necessities~
coreutils
git
killall
unzip
vim
wget
sshfs
gnumake # for our own makefile
my.cached-nix-shell # for instant nix-shell scripts
];

View file

@ -1,15 +1,15 @@
[
(self: super: with super; {
my = {
ant-dracula = (callPackage ./packages/ant-dracula.nix {});
ant-dracula = (callPackage ./ant-dracula.nix {});
cached-nix-shell =
(callPackage
(builtins.fetchTarball
https://github.com/xzfc/cached-nix-shell/archive/master.tar.gz) {});
emacs27 = (callPackage ./packages/emacs27.nix {});
linode-cli = (callPackage ./packages/linode-cli.nix {});
ripcord = (callPackage ./packages/ripcord.nix {});
zunit = (callPackage ./packages/zunit.nix {});
emacs27 = (callPackage ./emacs27.nix {});
linode-cli = (callPackage ./linode-cli.nix {});
ripcord = (callPackage ./ripcord.nix {});
zunit = (callPackage ./zunit.nix {});
};
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {