This commit is contained in:
oqyude committed 2025-08-07 01:39:26 +03:00
1 parent 09ce473994
commit 185d6e22b4
16 files changed
+16 -39

No files matched your search

+4 -11
View File
@@ -92,9 +92,6 @@
inputs:
let
flakeContext = { inherit inputs; };
# system = "x86_64-linux"; # Замени, если нужно
# pkgs = import inputs.nixpkgs { inherit system; };
# immich-s = import ./pkgs/immich/default.nix { inherit pkgs; };
in
{
nixosModules = {
@@ -133,12 +130,8 @@
xray = import ./modules/vds/xray.nix flakeContext;
};
};
homeConfigurations = {
default = import ./home/default.nix flakeContext;
};
# homeModules = {
# };
} // (import ./nixosConfigurations flakeContext)
// (import ./pkgs flakeContext);
}
// (import ./homeConfigurations flakeContext)
// (import ./nixosConfigurations flakeContext)
// (import ./pkgs flakeContext);
}
+6
View File
@@ -0,0 +1,6 @@
{ ... }@flakeContext:
{
homeConfigurations = {
default = import ./home.nix flakeContext;
};
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
{...}@flakeContext:
{ ... }@flakeContext:
{
nixosConfigurations = {
atoridu = import ./hosts/mini-pc.nix flakeContext; # atoridu
+5 -7
View File
@@ -1,11 +1,9 @@
{ inputs, ...}@flakeContext:
{ inputs, ... }@flakeContext:
let
system = "x86_64-linux"; # Замени, если нужно
pkgs = import inputs.nixpkgs { inherit system; };
immich-s = import ./pkgs/immich/default.nix { inherit pkgs; };
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
in
{
packages."x86_64-linux" = {
immich = immich-s.package;
};
packages."x86_64-linux" = {
immich = pkgs.callPackage ./immich/package.nix {};
};
}
-20
View File
@@ -1,20 +0,0 @@
# self: super: {
# pkgs-src = {
# immich = super.callPackage ./package.nix { };
# };
# }
{ pkgs }:
let
sources = pkgs.lib.importJSON ./sources.json;
in
{
package = pkgs.callPackage ./package.nix {
# src = pkgs.fetchFromGitHub {
# owner = "immich-app";
# repo = "immich";
# rev = "v${sources.version}";
# hash = sources.hash;
# };
};
}