mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:28:56 +08:00
Compare commits
2 Commits
0fc95d4abf
...
eef8b0f312
Author | SHA1 | Date | |
---|---|---|---|
eef8b0f312 | |||
dfcd4582ba |
@ -63,11 +63,7 @@
|
|||||||
(
|
(
|
||||||
[
|
[
|
||||||
(inputs: { config.nixpkgs.overlays = [(final: prev:
|
(inputs: { config.nixpkgs.overlays = [(final: prev:
|
||||||
{
|
{ localPackages = (import ./local/pkgs { inherit (inputs) lib; pkgs = final; }); })]; })
|
||||||
localPackages = (import ./local/pkgs { inherit (inputs) lib; pkgs = final; });
|
|
||||||
unstablePackages = import inputs.topInputs.nixpkgs-unstable
|
|
||||||
{ system = "x86_64-linux"; config.allowUnfree = true; };
|
|
||||||
})]; })
|
|
||||||
./modules
|
./modules
|
||||||
]
|
]
|
||||||
++ system.value
|
++ system.value
|
||||||
@ -711,7 +707,7 @@
|
|||||||
inputs.self.nixosConfigurations.${node};
|
inputs.self.nixosConfigurations.${node};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
[ "vps6" "vps4" "vps7" ]);
|
[ "vps6" "vps4" "vps7" "nas" ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ inputs:
|
|||||||
# download
|
# download
|
||||||
qbittorrent yt-dlp nur-xddxdd.baidupcs-go wgetpaste
|
qbittorrent yt-dlp nur-xddxdd.baidupcs-go wgetpaste
|
||||||
# office
|
# office
|
||||||
crow-translate zotero pandoc
|
unstablePackages.crow-translate zotero pandoc
|
||||||
# development
|
# development
|
||||||
scrcpy
|
scrcpy
|
||||||
# media
|
# media
|
||||||
|
@ -37,6 +37,14 @@ inputs:
|
|||||||
{
|
{
|
||||||
hostPlatform = { system = "x86_64-linux"; gcc = { arch = nixpkgs.march; tune = nixpkgs.march; }; };
|
hostPlatform = { system = "x86_64-linux"; gcc = { arch = nixpkgs.march; tune = nixpkgs.march; }; };
|
||||||
config = { qchem-config.optArch = nixpkgs.march; oneapiArch = nixpkgs.oneapiArch; };
|
config = { qchem-config.optArch = nixpkgs.march; oneapiArch = nixpkgs.oneapiArch; };
|
||||||
|
overlays = [(final: prev:
|
||||||
|
{
|
||||||
|
unstablePackages = import inputs.topInputs.nixpkgs-unstable
|
||||||
|
{
|
||||||
|
localSystem = { system = "x86_64-linux"; gcc = { arch = nixpkgs.march; tune = nixpkgs.march; }; };
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
})];
|
||||||
};
|
};
|
||||||
boot.kernelPatches =
|
boot.kernelPatches =
|
||||||
[{
|
[{
|
||||||
@ -60,7 +68,14 @@ inputs:
|
|||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
{ nixpkgs.hostPlatform = "x86_64-linux"; }
|
{
|
||||||
|
nixpkgs =
|
||||||
|
{
|
||||||
|
hostPlatform = "x86_64-linux";
|
||||||
|
overlays = [(final: prev: { unstablePackages = import inputs.topInputs.nixpkgs-unstable
|
||||||
|
{ localSystem.system = "x86_64-linux"; config.allowUnfree = true; }; })];
|
||||||
|
};
|
||||||
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user