optimized both flake.nix
This commit is contained in:
@@ -26,10 +26,13 @@
|
|||||||
let
|
let
|
||||||
|
|
||||||
overlay-stable = final: prev: {
|
overlay-stable = final: prev: {
|
||||||
|
|
||||||
stable = import nixpkgs-stable {
|
stable = import nixpkgs-stable {
|
||||||
system = prev.stdenv.hostPlatform.system;
|
system = prev.stdenv.hostPlatform.system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
@@ -37,7 +40,11 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
|
||||||
|
modules = [
|
||||||
|
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules.Sovran_SystemsOS = { pkgs, lib, config, ... }: {
|
nixosModules.Sovran_SystemsOS = { pkgs, lib, config, ... }: {
|
||||||
|
|||||||
@@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
nixosConfigurations."nixos" = Sovran_Systems.inputs.nixpkgs.lib.nixosSystem {
|
nixosConfigurations."nixos" = Sovran_Systems.inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
|
||||||
system = "x86_64-linux";
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
|
||||||
|
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
./custom.nix
|
./custom.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user