Change jovian nixos to a flake import instead of a normal import
This commit is contained in:
parent
0555ee7ce4
commit
366f4a1253
|
@ -10,6 +10,8 @@
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
||||||
|
|
||||||
|
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||||
|
|
||||||
# Home manager
|
# Home manager
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -8,18 +8,7 @@
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
#Jovian Nixos
|
#Jovian Nixos
|
||||||
(
|
inputs.jovian.nixosModules.jovian
|
||||||
# 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"
|
|
||||||
)
|
|
||||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||||
# outputs.homeManagerModules.example
|
# outputs.homeManagerModules.example
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
|
Loading…
Reference in a new issue