Install VSCode from unstable for extension compatibility

This commit is contained in:
SebastianStork 2025-02-01 22:13:35 +01:00
parent bb0e5ea9de
commit 58886e54b5
6 changed files with 48 additions and 17 deletions

View file

@ -5,14 +5,9 @@
...
}:
let
stable = inputs.nixpkgs;
# unstable = inputs.nixpkgs-unstable;
mkHost = hostname: nixpkgs: {
${hostname} = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs self;
};
mkHost = hostname: {
${hostname} = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs self; };
modules =
[
{ networking.hostName = hostname; }
@ -29,10 +24,10 @@ in
{
flake = {
nixosConfigurations = lib.mkMerge [
(mkHost "north" stable)
(mkHost "inspiron" stable)
(mkHost "stratus" stable)
(mkHost "installer" stable)
(mkHost "north")
(mkHost "inspiron")
(mkHost "stratus")
(mkHost "installer")
];
deploy.nodes.stratus = {