Move overlays.nix to common
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
./monitoring.nix
|
||||
./net.nix
|
||||
./nfs.nix
|
||||
./overlays.nix
|
||||
./slurm.nix
|
||||
./ssh.nix
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
{ options, ... }:
|
||||
|
||||
let
|
||||
|
||||
bscpkgsSrc = builtins.fetchTarball "https://pm.bsc.es/gitlab/rarias/bscpkgs/-/archive/master/bscpkgs-master.tar.gz";
|
||||
bscpkgs = import "${bscpkgsSrc}/overlay.nix";
|
||||
|
||||
xeon07Overlay = (self: super: {
|
||||
slurm = super.bsc.slurm-16-05-8-1;
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
nix.nixPath =
|
||||
# Prepend default nixPath values.
|
||||
options.nix.nixPath.default ++
|
||||
# Append our nixpkgs-overlays.
|
||||
[ "nixpkgs-overlays=/etc/nixos/overlays-compat/" ]
|
||||
;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
bscpkgs xeon07Overlay
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user