From d44fca9c610591a7b329eace42574062bebc9bee Mon Sep 17 00:00:00 2001 From: bricked Date: Fri, 3 Jan 2025 15:40:34 +0100 Subject: [PATCH] desktop: add nix-alien-ld --- configs/nixos/desktop/default.nix | 4 + flake.lock | 117 +++++++++++++++++++++++++++++- flake.nix | 5 ++ 3 files changed, 122 insertions(+), 4 deletions(-) diff --git a/configs/nixos/desktop/default.nix b/configs/nixos/desktop/default.nix index 900669f..247aa15 100644 --- a/configs/nixos/desktop/default.nix +++ b/configs/nixos/desktop/default.nix @@ -2,6 +2,7 @@ pkgs, lib, nixpkgs, + nix-alien, ... }: with lib; { @@ -100,6 +101,8 @@ with lib; { }; }; + programs.nix-ld.enable = true; + environment.systemPackages = with pkgs; [ comma nodejs_23 @@ -138,6 +141,7 @@ with lib; { gnome-obfuscate bottles mission-center + nix-alien.packages.${system}.nix-alien (uutils-coreutils.override {prefix = "";}) (writeShellScriptBin "wine-mono" "mono") (writeShellScriptBin "xdg-terminal-exec" "kitty -e $@") diff --git a/flake.lock b/flake.lock index 128610f..3031442 100644 --- a/flake.lock +++ b/flake.lock @@ -215,6 +215,21 @@ } }, "flake-compat_3": { + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { "flake": false, "locked": { "lastModified": 1733328505, @@ -349,6 +364,24 @@ } }, "flake-utils_4": { + "inputs": { + "systems": "systems_3" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_5": { "inputs": { "systems": [ "stylix", @@ -546,6 +579,30 @@ "type": "github" } }, + "nix-alien": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_3", + "nix-filter": "nix-filter", + "nix-index-database": "nix-index-database", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1734239219, + "narHash": "sha256-iKY/OGNANXpd9hXBGfx8vObpHW4IcOH0MrerLCCc7hA=", + "owner": "thiagokokada", + "repo": "nix-alien", + "rev": "a266d0f74dd4a82ec6a72b02fbf3fbc5f7105f15", + "type": "github" + }, + "original": { + "owner": "thiagokokada", + "repo": "nix-alien", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -566,6 +623,21 @@ "type": "github" } }, + "nix-filter": { + "locked": { + "lastModified": 1731533336, + "narHash": "sha256-oRam5PS1vcrr5UPgALW0eo1m/5/pls27Z/pabHNy2Ms=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "f7653272fd234696ae94229839a99b73c9ab7de0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, "nix-flatpak": { "locked": { "lastModified": 1734128415, @@ -604,6 +676,27 @@ "type": "github" } }, + "nix-index-database": { + "inputs": { + "nixpkgs": [ + "nix-alien", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1734234111, + "narHash": "sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "311d6cf3ad3f56cb051ffab1f480b2909b3f754d", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-index-database", + "type": "github" + } + }, "nix-on-droid": { "inputs": { "home-manager": [ @@ -857,7 +950,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_4", "ixx": "ixx", "nixpkgs": [ "nixvim", @@ -945,6 +1038,7 @@ "gitignore": "gitignore", "home-manager": "home-manager", "lanzaboote": "lanzaboote", + "nix-alien": "nix-alien", "nix-darwin": "nix-darwin", "nix-flatpak": "nix-flatpak", "nix-on-droid": "nix-on-droid", @@ -956,7 +1050,7 @@ "spicetify-nix": "spicetify-nix", "spicetify-waveform-extension": "spicetify-waveform-extension", "stylix": "stylix", - "systems": "systems_3", + "systems": "systems_4", "treefmt-nix": "treefmt-nix_2", "wallpaper": "wallpaper" } @@ -1004,7 +1098,7 @@ }, "spicetify-nix": { "inputs": { - "flake-compat": "flake-compat_3", + "flake-compat": "flake-compat_4", "nixpkgs": [ "nixpkgs" ] @@ -1049,7 +1143,7 @@ "flake-compat": [ "flake-compat" ], - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_5", "gnome-shell": "gnome-shell", "home-manager": [ "home-manager" @@ -1123,6 +1217,21 @@ "type": "github" } }, + "systems_4": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-foot": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index fd0ca48..16b0af4 100644 --- a/flake.nix +++ b/flake.nix @@ -201,6 +201,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + nix-alien = { + url = "github:thiagokokada/nix-alien"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + # Boot disko = { url = "github:nix-community/disko/latest";