Change jovian nixos to a flake import instead of a normal import
This commit is contained in:
parent
6bafd9a3d7
commit
a433e98f0b
|
@ -10,6 +10,8 @@
|
|||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
||||
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||
|
||||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -8,18 +8,7 @@
|
|||
}: {
|
||||
imports = [
|
||||
#Jovian Nixos
|
||||
(
|
||||
# Put the most recent revision here:
|
||||
let
|
||||
revision = "1962ff3135b1468ae473a196da01d0ebf38c144e";
|
||||
in
|
||||
builtins.fetchTarball {
|
||||
url = "https://github.com/Jovian-Experiments/Jovian-NixOS/archive/${revision}.tar.gz";
|
||||
# Update the hash as needed:
|
||||
sha256 = "sha256:1iicb42dy4k440ddarysbb82bc7k5dv94xhg38jfcwh0wpq0rbdc";
|
||||
}
|
||||
+ "/modules"
|
||||
)
|
||||
inputs.jovian.nixosModules.jovian
|
||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||
# outputs.homeManagerModules.example
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
|
|
Loading…
Reference in a new issue