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:
parent
db7a7938ee
commit
4c4801d6a8
12
flake.lock
generated
12
flake.lock
generated
@ -327,19 +327,19 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"patch-pcsclite": {
|
||||
"patch-systemd": {
|
||||
"locked": {
|
||||
"lastModified": 1707199254,
|
||||
"narHash": "sha256-8jDsoIn5v3JcDXCeGMYA/fUWvrTzTZEg7J4PwcgYX/I=",
|
||||
"lastModified": 1707546158,
|
||||
"narHash": "sha256-nYYJTpzfPMDxI8mzhQsYjIUX+grorqjKEU9Np6Xwy/0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "952bd699447d82d69f4b15d994d5dc232e7addfb",
|
||||
"rev": "d934204a0f8d9198e1e4515dd6fec76a139c87f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "952bd699447d82d69f4b15d994d5dc232e7addfb",
|
||||
"rev": "d934204a0f8d9198e1e4515dd6fec76a139c87f0",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
@ -356,7 +356,7 @@
|
||||
"nixos-modules": "nixos-modules",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-fmt": "nixpkgs-fmt",
|
||||
"patch-pcsclite": "patch-pcsclite",
|
||||
"patch-systemd": "patch-systemd",
|
||||
"sops-nix": "sops-nix",
|
||||
"systems": "systems"
|
||||
}
|
||||
|
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 = {
|
||||
|
@ -20,6 +20,7 @@
|
||||
filesystem = "zfs";
|
||||
useSystemdBoot = true;
|
||||
kernelParams = [ "i915.force_probe=56a5" "i915.enable_guc=2" ];
|
||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user