common: move sources to external.nix

This commit is contained in:
hexchen 2021-01-02 09:01:17 +00:00
parent d761086909
commit da6dffbcff
2 changed files with 8 additions and 9 deletions

View file

@ -1,15 +1,9 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let {
home-manager = fetchGit {
url = "https://github.com/nix-community/home-manager";
rev = "a98ec6ec158686387d66654ea96153ec06be33d7";
};
in {
imports = [ imports = [
../../modules ../../modules
"${home-manager}/nixos" ./external.nix
./pbb.nix
./users.nix ./users.nix
]; ];

View file

@ -1,7 +1,7 @@
let let
pbb-nixfiles = fetchGit { pbb-nixfiles = fetchGit {
url = "https://git.petabyte.dev/petabyteboy/nixfiles"; url = "https://git.petabyte.dev/petabyteboy/nixfiles";
rev = "ac4f83ecdc2ff1794223c0485ab749cbe399e802"; rev = "b15d29e0440716fc37414547d55839717c9ed2f9";
}; };
qyliss-nixlib = fetchTarball { qyliss-nixlib = fetchTarball {
@ -9,9 +9,14 @@ let
sha256 = "0nan14ixhdzxxddnckqqhaxhr96yw08rgcmxssddhji6aq5a445j"; sha256 = "0nan14ixhdzxxddnckqqhaxhr96yw08rgcmxssddhji6aq5a445j";
}; };
home-manager = fetchGit {
url = "https://github.com/nix-community/home-manager";
rev = "a98ec6ec158686387d66654ea96153ec06be33d7";
};
in { in {
imports = [ imports = [
(pbb-nixfiles + "/modules") (pbb-nixfiles + "/modules")
(home-manager + "/nixos")
]; ];
nixpkgs.overlays = [ nixpkgs.overlays = [