Compare commits

..

2 commits

View file

@ -53,6 +53,11 @@
home-manager.users.alarsyo = import ./home; home-manager.users.alarsyo = import ./home;
home-manager.verbose = true; home-manager.verbose = true;
}; };
nix-path = {
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs}"
];
};
}; };
nixosConfigurations = nixosConfigurations =
@ -69,6 +74,10 @@
}; };
}) })
]; ];
sharedModules = [
home-manager.nixosModule
{ nixpkgs.overlays = shared_overlays; }
] ++ (nixpkgs.lib.attrValues self.nixosModules);
in { in {
poseidon = nixpkgs.lib.nixosSystem rec { poseidon = nixpkgs.lib.nixosSystem rec {
@ -76,9 +85,6 @@
modules = [ modules = [
./poseidon.nix ./poseidon.nix
home-manager.nixosModule
self.nixosModules.home
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
@ -93,9 +99,9 @@
python3 = self.fastPython3; python3 = self.fastPython3;
}; };
}) })
] ++ shared_overlays;
}
]; ];
}
] ++ sharedModules;
}; };
boreal = nixpkgs.lib.nixosSystem rec { boreal = nixpkgs.lib.nixosSystem rec {
@ -103,9 +109,6 @@
modules = [ modules = [
./boreal.nix ./boreal.nix
home-manager.nixosModule
self.nixosModules.home
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.emacs-overlay.overlay inputs.emacs-overlay.overlay
@ -116,9 +119,9 @@
# (self: super: { # (self: super: {
# stdenv = super.impureUseNativeOptimizations super.stdenv; # stdenv = super.impureUseNativeOptimizations super.stdenv;
# }) # })
] ++ shared_overlays;
}
]; ];
}
] ++ sharedModules;
}; };
zephyrus = nixpkgs.lib.nixosSystem rec { zephyrus = nixpkgs.lib.nixosSystem rec {
@ -130,15 +133,12 @@
inputs.nixos-hardware.nixosModules.common-pc-laptop inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-ssd inputs.nixos-hardware.nixosModules.common-pc-ssd
home-manager.nixosModule
self.nixosModules.home
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.emacs-overlay.overlay inputs.emacs-overlay.overlay
] ++ shared_overlays;
}
]; ];
}
] ++ sharedModules;
}; };
}; };