1
Fork 0

fix: actually did that now

This commit is contained in:
Matei Adriel 2021-11-27 20:12:57 +02:00
parent 40609495b8
commit d93aa9b473
2 changed files with 42 additions and 4 deletions

View file

@ -1,5 +1,37 @@
{ {
"nodes": { "nodes": {
"easy-dhall-nix": {
"flake": false,
"locked": {
"lastModified": 1626523404,
"narHash": "sha256-FLZcMqO8dKIwKi8/Szqgt3ksr5WegLGFGzCODHEMvb0=",
"owner": "justinwoo",
"repo": "easy-dhall-nix",
"rev": "9bd1bea0dcebe1d1d120c0fd1ba76683dc4a62e3",
"type": "github"
},
"original": {
"owner": "justinwoo",
"repo": "easy-dhall-nix",
"type": "github"
}
},
"easy-purescript-nix": {
"flake": false,
"locked": {
"lastModified": 1637830227,
"narHash": "sha256-S/n17xSJ9uSOY3EfIXWby/iNkQ+6LqHQmBM7T3yC4tg=",
"owner": "justinwoo",
"repo": "easy-purescript-nix",
"rev": "721bbd957c62594c46ea4c94f1a9f3cb341b2d25",
"type": "github"
},
"original": {
"owner": "justinwoo",
"repo": "easy-purescript-nix",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -54,6 +86,8 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"easy-dhall-nix": "easy-dhall-nix",
"easy-purescript-nix": "easy-purescript-nix",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"

View file

@ -21,14 +21,18 @@
... }: { ... }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
nixpkgs.overlays = [self: super: {
easy-purescript-nix = import easy-purescript-nix { inherit pgks };
easy-dhall-nix = import easy-dhall-nix { inherit pgks };
}];
modules = [ modules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
./hardware/laptop.nix ./hardware/laptop.nix
./configuration.nix ./configuration.nix
# Make inputs available inside the config
({ pkgs, ... }: {
nixpkgs.overlays = [(self: super: {
easy-purescript-nix = import easy-purescript-nix { inherit pkgs; };
easy-dhall-nix = import easy-dhall-nix { inherit pkgs; };
})];
})
]; ];
}; };
}; };