ehhh? changed some flake settings

This commit is contained in:
Serenity-F 2024-04-05 09:55:03 +10:00
parent 6f221f6b53
commit 22a3d2f994

View file

@ -34,14 +34,7 @@
}; };
outputs = { outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, hyprland, ... }:
self,
nixpkgs,
nixpkgs-unstable,
nixos-hardware,
home-manager,
hyprland,
... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
@ -53,18 +46,18 @@
overlay-flake-pkgs = final: prev: { overlay-flake-pkgs = final: prev: {
}; };
common-modules = [ common-modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable overlay-flake-pkgs ]; }) # ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable overlay-flake-pkgs ]; })
]; ];
in in
{ {
nixosConfigurations = { nixosConfigurations = {
proserpina = nixpkgs.lib.nixosSystem { proserpina = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
specialArgs = { inherit hyprland; }; # specialArgs = { inherit hyprland; };
modules = [ modules = [
./hosts/proserpina/configuration.nix # Load muir main nix config ./hosts/proserpina/configuration.nix # Load muir main nix config
# nixos-hardware.nixosModules.$MODEL # nixos-hardware.nixosModules.$MODEL
] ++ common-modules; ]; # ++ common-modules;
}; };
}; };
}; };