This commit is contained in:
Cole Mickens 2020-11-07 23:01:15 -08:00
parent 01b7193fe9
commit daf9133c35
No known key found for this signature in database
GPG key ID: B475C2955744A019
3 changed files with 27 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, modulesPath, ... }:
{ config, pkgs, lib, modulesPath, inputs, ... }:
{
@ -13,5 +13,11 @@
services.sshd.enable = true;
networking.hostName = "mysystem";
nixpkgs.overlays = [ inputs.nur.overlay ];
environment.systemPackages = with pkgs; [
pkgs.nur.repos.mic92.hello-nur
];
}

View file

@ -16,9 +16,25 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1604808696,
"narHash": "sha256-yJRRZEBzvfuDUMarWCbD6ehZd1u3rHqA9nK3OJOE30s=",
"owner": "nix-community",
"repo": "NUR",
"rev": "3189c40da661eefc0c604f7f50df4956cf542a25",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nur": "nur"
}
}
},

View file

@ -4,6 +4,7 @@
inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
nur = { url = "github:nix-community/NUR"; };
};
outputs = inputs:
@ -17,7 +18,8 @@
(import ./configuration.nix)
/* ignore */ ignoreme # ignore this; don't include it; it is a small helper for this example
];
];
specialArgs = { inherit inputs; };
};
};
};