Initial commit

This commit is contained in:
2026-04-12 17:19:04 +02:00
commit 6174d331e4
7 changed files with 80 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
result

9
.gitmodules vendored Normal file
View File

@@ -0,0 +1,9 @@
[submodule "pkgs/hyprland-toggle-tiling"]
path = pkgs/hyprland-toggle-tiling
url = git+ssh://gitea@typofelho.ddns.net/TypoMustakes/hyprland-toggle-tiling
[submodule "pkgs/pass-autotype"]
path = pkgs/pass-autotype
url = git+ssh://gitea@typofelho.ddns.net/TypoMustakes/pass-autotype
[submodule "pkgs/legacy-launcher"]
path = pkgs/legacy-launcher
url = git+ssh://gitea@typofelho.ddns.net/TypoMustakes/legacy-launcher

26
flake.lock generated Normal file
View File

@@ -0,0 +1,26 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1776014043,
"narHash": "sha256-ATn3vRZQiDsLx2W3fzFPAm39Pn1omTPdOHxO8Hd+NEA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "109b2e0096f4ef69c82062f34609551152223d40",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

41
flake.nix Normal file
View File

@@ -0,0 +1,41 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgsDir = ./pkgs;
entries = builtins.readDir pkgsDir;
# only subdirectories
pkgNames =
lib.attrNames (lib.filterAttrs (_: t: t == "directory") entries);
loadPkg = name:
let
path = pkgsDir + "/${name}";
flake = builtins.getFlake (toString path);
in
# since all are guaranteed identical shape:
flake.packages.${system}.default;
# build final package set
packages =
lib.listToAttrs (
map (name: {
inherit name;
value = loadPkg name;
}) pkgNames
);
in {
packages.${system} = packages;
overlays.default = final: prev: {
myPkgs = packages;
};
};
}

1
pkgs/legacy-launcher Submodule

Submodule pkgs/legacy-launcher added at 4b8d87d5b4

1
pkgs/pass-autotype Submodule

Submodule pkgs/pass-autotype added at fc6de648c1