refactoring & adding nix-onlyoffice flake

This commit is contained in:
Gregory Bednov 2026-08-28 14:25:29 +03:00
commit e4f7be0c1c
2 changed files with 76 additions and 54 deletions

52
flake.lock generated
View file

@ -51,11 +51,11 @@
"rev": "4f11a7fdd2b0a390f98c8764e8f6830f75201096", "rev": "4f11a7fdd2b0a390f98c8764e8f6830f75201096",
"revCount": 6, "revCount": 6,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/gostfont.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/gostfont.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/gostfont.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/gostfont.git"
} }
}, },
"guardant": { "guardant": {
@ -71,11 +71,11 @@
"rev": "e20554b30029b6d84f04cdf7fb226aff3be7e5d5", "rev": "e20554b30029b6d84f04cdf7fb226aff3be7e5d5",
"revCount": 1, "revCount": 1,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/guardant.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/guardant.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/guardant.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/guardant.git"
} }
}, },
"kompas3d": { "kompas3d": {
@ -91,11 +91,11 @@
"rev": "6e1860b78382cbd42f43663b459487e457abd251", "rev": "6e1860b78382cbd42f43663b459487e457abd251",
"revCount": 13, "revCount": 13,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/kompas3d.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/kompas3d.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/kompas3d.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/kompas3d.git"
} }
}, },
"mireadesktop": { "mireadesktop": {
@ -111,11 +111,11 @@
"rev": "a19e2f8ac520ef2be55d0c0472aab125a4d3a357", "rev": "a19e2f8ac520ef2be55d0c0472aab125a4d3a357",
"revCount": 45, "revCount": 45,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/mireadesktop.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/mireadesktop.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/mireadesktop.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/mireadesktop.git"
} }
}, },
"mireapython": { "mireapython": {
@ -131,11 +131,11 @@
"rev": "b7172d602ff62aa02d68bd9852168bd3c32aa726", "rev": "b7172d602ff62aa02d68bd9852168bd3c32aa726",
"revCount": 12, "revCount": 12,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/mireapython.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/mireapython.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/mireapython.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/mireapython.git"
} }
}, },
"nix-jetbrains-plugins": { "nix-jetbrains-plugins": {
@ -153,11 +153,26 @@
"rev": "c1b6f1b23bd29d520ac3f46fd596564ac6e84e2a", "rev": "c1b6f1b23bd29d520ac3f46fd596564ac6e84e2a",
"revCount": 44, "revCount": 44,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/nix-jetbrains-plugins.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/nix-jetbrains-plugins.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/nix-jetbrains-plugins.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/nix-jetbrains-plugins.git"
}
},
"nix-onlyoffice": {
"locked": {
"lastModified": 1785830074,
"narHash": "sha256-pMPYdCZGAZritK9OO4WGsjfNB3DLB6CnP0vRBYAsnCo=",
"owner": "JakeHPark",
"repo": "nix-onlyoffice",
"rev": "6987ae3b498f2cf8a0f78b921c63eb44cf5852e6",
"type": "github"
},
"original": {
"owner": "JakeHPark",
"repo": "nix-onlyoffice",
"type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
@ -190,11 +205,11 @@
"rev": "eb673a5d201d9c32e8fc642e47b9c66ed6130379", "rev": "eb673a5d201d9c32e8fc642e47b9c66ed6130379",
"revCount": 2, "revCount": 2,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/packettracer7.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/packettracer7.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/packettracer7.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/packettracer7.git"
} }
}, },
"root": { "root": {
@ -205,6 +220,7 @@
"mireadesktop": "mireadesktop", "mireadesktop": "mireadesktop",
"mireapython": "mireapython", "mireapython": "mireapython",
"nix-jetbrains-plugins": "nix-jetbrains-plugins", "nix-jetbrains-plugins": "nix-jetbrains-plugins",
"nix-onlyoffice": "nix-onlyoffice",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"packettracer7": "packettracer7", "packettracer7": "packettracer7",
"simintech": "simintech", "simintech": "simintech",
@ -224,11 +240,11 @@
"rev": "3ce193218e3f5b8cc5b5a212be550785d8e64e86", "rev": "3ce193218e3f5b8cc5b5a212be550785d8e64e86",
"revCount": 10, "revCount": 10,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/simintech_nix.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/simintech_nix.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/simintech_nix.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/simintech_nix.git"
} }
}, },
"stm32cubemx": { "stm32cubemx": {
@ -244,11 +260,11 @@
"rev": "d1ebff9193ed7be660e14167f8fb1625be8df4f0", "rev": "d1ebff9193ed7be660e14167f8fb1625be8df4f0",
"revCount": 31, "revCount": 31,
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/stm32cubemx.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/stm32cubemx.git"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://forgejo.gregjorbednov.ru/gregorbednov/stm32cubemx.git" "url": "https://forgejo.gregorbednov.ru/gregorbednov/stm32cubemx.git"
} }
}, },
"systems": { "systems": {

View file

@ -3,47 +3,52 @@
inputs.simintech = { inputs.simintech = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/simintech_nix.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/simintech_nix.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.mireadesktop = { inputs.mireadesktop = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/mireadesktop.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/mireadesktop.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.stm32cubemx = { inputs.stm32cubemx = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/stm32cubemx.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/stm32cubemx.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.packettracer7 = { inputs.packettracer7 = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/packettracer7.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/packettracer7.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.gostfont = { inputs.gostfont = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/gostfont.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/gostfont.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.nix-jetbrains-plugins = { inputs.nix-jetbrains-plugins = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/nix-jetbrains-plugins.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/nix-jetbrains-plugins.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.mireapython = { inputs.mireapython = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/mireapython.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/mireapython.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.kompas3d = { inputs.kompas3d = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/kompas3d.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/kompas3d.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.guardant = { inputs.guardant = {
url = "git+https://forgejo.gregorbednov.ru/gregorbednov/guardant.git"; url = "git+https://forgejo.gregorbednov.ru/gregorbednov/guardant.git";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
inputs.nix-onlyoffice = {
url = "github:JakeHPark/nix-onlyoffice";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = outputs =
{ {
@ -53,6 +58,7 @@ inputs.guardant = {
stm32cubemx, stm32cubemx,
packettracer7, packettracer7,
guardant, guardant,
nix-onlyoffice,
kompas3d, kompas3d,
... ...
}@inputs: }@inputs:
@ -60,9 +66,9 @@ inputs.guardant = {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
nix-onlyoffice.nixosModules.onlyoffice
./configuration.nix ./configuration.nix
]; ];
}; };
}; };
} }