remove nix-index-database from rpi (#95)

* remove nix-index-database from rpi

* Udev fix

* flake update

* add git alias

* Remove unused flake input

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

---------

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
Co-authored-by: Fabius <fabius2001@hotmail.de>
Co-authored-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
Dennis
2024-02-17 15:51:38 +01:00
committed by GitHub
parent db7a7938ee
commit 4c4801d6a8
3 changed files with 14 additions and 12 deletions

View File

@ -23,8 +23,8 @@
};
inputs = {
#pcsc can not cross compile
patch-pcsclite.url = "github:nixos/nixpkgs?rev=952bd699447d82d69f4b15d994d5dc232e7addfb";
# pcsc, fido2, systemd can not cross compile
patch-systemd.url = "github:nixos/nixpkgs?rev=d934204a0f8d9198e1e4515dd6fec76a139c87f0";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
@ -105,7 +105,7 @@
};
};
outputs = { self, nixpkgs-fmt, nix, home-manager, mailserver, nix-pre-commit, nixos-modules, nixpkgs, sops-nix, patch-pcsclite, ... }@inputs:
outputs = { self, nixpkgs-fmt, nix, home-manager, mailserver, nix-pre-commit, nixos-modules, nixpkgs, sops-nix, ... }@inputs:
let
inherit (nixpkgs) lib;
systems = [
@ -220,9 +220,10 @@
}) users) else [ ])
++ lib.optional (system != "x86_64-linux") {
nixpkgs.overlays = [
(_self: super: {
pcsclite = patch-pcsclite.legacyPackages.${system}.pcsclite;
})
(_self: super: (builtins.listToAttrs (map (name: {
name = name;
value = inputs.patch-systemd.legacyPackages.${system}.${name};
}) (builtins.attrNames inputs.patch-systemd.legacyPackages.${system}))))
];
} ++ lib.optional (system != "x86_64-linux") {
config.nixpkgs = {