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:
13
flake.nix
13
flake.nix
@ -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 = {
|
||||
|
Reference in New Issue
Block a user