feat(system): add nix-ld and nix-alien

This commit is contained in:
Felix Schröter 2025-05-18 15:03:14 +02:00
parent 062ff799eb
commit a933d00a95
Signed by: felschr
GPG key ID: 671E39E6744C807D
4 changed files with 77 additions and 3 deletions

65
flake.lock generated
View file

@ -179,6 +179,21 @@
}
},
"flake-compat_3": {
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1717312683,
@ -194,7 +209,7 @@
"type": "github"
}
},
"flake-compat_4": {
"flake-compat_5": {
"flake": false,
"locked": {
"lastModified": 1696426674,
@ -370,6 +385,49 @@
"type": "gitlab"
}
},
"nix-alien": {
"inputs": {
"flake-compat": "flake-compat_3",
"nix-index-database": "nix-index-database",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1747293822,
"narHash": "sha256-1R3Ro+RQCUUnIFZDObP9/2QBLk3xvgbXU67Qii+YZ8s=",
"owner": "thiagokokada",
"repo": "nix-alien",
"rev": "ea7eb3a76520fa8d92879afb819756ffc0bc629e",
"type": "github"
},
"original": {
"owner": "thiagokokada",
"repo": "nix-alien",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nix-alien",
"nixpkgs"
]
},
"locked": {
"lastModified": 1746934494,
"narHash": "sha256-3n6i+F0sDASjkhbvgFDpPDZGp7z19IrRtjfF9TwJpCA=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "e9b21b01e4307176b9718a29ac514838e7f6f4ff",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixlib": {
"locked": {
"lastModified": 1643502816,
@ -387,7 +445,7 @@
},
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat_3",
"flake-compat": "flake-compat_4",
"nixpkgs": [
"nixpkgs"
],
@ -511,7 +569,7 @@
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat_4",
"flake-compat": "flake-compat_5",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
@ -542,6 +600,7 @@
"flake-utils": "flake-utils_2",
"home-manager": "home-manager_2",
"matrix-appservices": "matrix-appservices",
"nix-alien": "nix-alien",
"nixos-cosmic": "nixos-cosmic",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",

View file

@ -28,6 +28,11 @@ rec {
flake-utils.url = "github:numtide/flake-utils";
nix-alien = {
url = "github:thiagokokada/nix-alien";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -5,6 +5,7 @@
./zram.nix
./i18n.nix
./nix.nix
./nix-ld.nix
./networking.nix
./hardened.nix
];

9
system/nix-ld.nix Normal file
View file

@ -0,0 +1,9 @@
{ inputs, system, ... }:
{
environment.systemPackages = [
inputs.nix-alien.packages.${system}.nix-alien
];
programs.nix-ld.enable = true;
}