mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add nur
This commit is contained in:
parent
01b7193fe9
commit
daf9133c35
3 changed files with 27 additions and 3 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
|
18
flake.lock
18
flake.lock
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue